*

Problem Set 2


Complete the following problem.

  1. Do problem 30c on page 56 of Sahni. You must provide a driver that reads in data from a file to populate your data structure and prints the result.

  2. Your solution must be appropriately commented (see the guidelines posted here). You must test your solutions. Submit a folder that contains all of your code and the file(s) containing your test data to the folder /home/cs311/ps2 on the class server (ftp to 147.129.18.208 with the account name "yourLastName".)

  3. You may use any environment that you like to develop your code. I will test your code using the tools from the JDK (eg, javac and java). I will use the Java 2 implementation of the JDK (which is also used in the book). You can obtain the Java 2 JDK free at http://java.sun.com/j2se/


    Return to John Barr's Home Page

    Last Modified: 4 September 2001

    THIS PAGE MAINTAINED BY: John Barr, Ithaca College