Cooper Union: Data Structures and Algorithms 2