Program 5  Advanced Print Queue solution


Original Work


5/5 - (3 votes)

Make a directory called “PG5” in the root of your CS222-01-14W folder. Place all the source code and include files in this directory. Place a (possibly empty) file called “DONE” into this folder when you are ready for your program to be graded.
You are to write software to store library books in a red-black tree. The binary tree should keep track of each book title and how many copies of each book are on hand. The librarian will process books with the following commands: