Home Page

Code Fragments

Source and documentation of the Java code fragments included in the book is available for several chapters. Much of the code in the book is inspired by the Data Structures Library in Java (JDSL).

All of the source code indexed from this page is subject to the following copyright:
Copyright © 1998, 1999, 2000, 2001, Michael T. Goodrich, Roberto Tamassia.
Permission is granted to use this software for non-commercial research and educational purposes. Not for publication or distribution. All other rights are reserved.

Download all code fragments as text files: tar, zip

View individual code fragments as color-annotated html files:

Chapter 1: Java Programming
Chapter 2: Object-Oriented Design
Chapter 3: Analysis Tools
Chapter 4: Stacks, Queues, and Deques
Chapter 5: Vectors, Lists, and Sequences
Chapter 6: Trees
Chapter 7: Priority Queues
Chapter 8: Dictionaries
Chapter 9: Search Trees
Chapter 10: Sorting, Sets, and Selection
Chapter 11: Text Processing
Chapter 12: Graphs