Return to the Index of Readings and Problems Sets


15-295 Reading 1 (Wednesday, January 19, 2005)

Assigned Reading

Additional Reference Material

Exercise

After completing the reading and getting a feel for C++ STL and Java's container collections, please write a program that satisfies the following requirements.

The program should be written in either C++ or Java. It should rely on the data structures and algorithms provided by C++'s STL or Java's Collections framework as much as is possible -- do not rewrite functionality provided by the framework.

Where multiple containers can be used to solve the problem, make good choices. For example, first, minimize your coding time, then, second, minimize computational time, lastly minimize storage space.

Requirements: