CSCI 1321 (Principles of Algorithm Design II):
Sample Programs

Disclaimer: Code linked from this page is intended as a cleaned-up and commented version of examples from class. Many programs and classes could be further improved with regard to functionality or design, but then they would no longer be as close to what we did in class.

A note about source code: Some browsers apparently do not display Java source code correctly ("flowing" it into one big paragraph). It's not clear that this is easily fixed, but a workaround is to use the browser's "save" function to save it to a local file and look at it there.