Comp 121 – Introduction to Data Structures. Fall 2000

Programming Assignment 4 -- Due November 14, 2000


In Assignment 3, you designed, coded, and tested a BST-implementation of the dynamic dictionary class, using the cursor implementation of trees. In this assignment, you are to design, code, and test an AVL implementation of the dynamic dictionary class, using the cursor implementation of trees, and implementing deletion using the strategy of lazy-deletion.

Sorting. Using your dynamic dictionary, write a utility that reads in a file of floating-point numbers specified as a command-line argument, and prints out (on standard output) the sorted file.

The following rules will be strictly enforced:

All of the above should be placed in an envelope with your name on the outside, and submitted at the beginning of class on the due date. Submissions will not be accepted after 10 minutes have elapsed from the start of class – no late submissions will be accepted without documented reasons.