1DV507, Programming and Data Structures, Spring 2017


Assignment 4: Generic Classes and More Algorithms


Problems?
Do not hesitate to ask your teaching assistant at the practical meetings (or Jonas at the lectures) if you have any problems. You can also post a question in the assignment forum in Moodle.

Prepare Eclipse for course 1DV507 and Assignment 4
Inside your Java project named 1DV507, create a new package with the name YourLnuUserName_assign4 and save all program files for this assignment inside that package. Later on, when submitting your assignment, you should submit a zipped version of this folder/package.

General Assignment Rules

Generic Classes

Time Measurements

Exercises 2-4 forms a unit related to time measurements. Please create a new subpackage named time to handle these exercises.

Priority Queues

Exercises 5-6 are related to Priority Queues and Binary Heaps. Please create a new subpackage named binheap to handle these exercises.