| CSE121 Applets from the Textbook Spring 2003, David Matuszek |
The following applets are from Data Structures & Algorithms in Java (2nd Edition) by Robert Lafore. You can (and should) download them to your own computer from http://www.samspublishing.com/content/images/0672324539/downloads/FinalApplets.ZIP. They are temporarily mirrored here for times when you are on campus and do not have your own computer available.
Example code in this textbook can be downloaded from http://www.samspublishing.com/content/images/0672324539/downloads/ReaderPrograms.ZIP
Note: If you are running MacOS X, the applet controls may not all fit in the
applet window, due to the extra-large Aqua buttons. Using any text editor, open
the .html file and increase the width of the applet
window.
To use the applets: You will see the message Press any button
in the applet. Choose an operation, and press the appropriate button for your
choice. Press the same button repeatedly to step through the operation
(some of them take several steps) until the message Press any button
reappears. If you don't finish some operations ("delete" in particular),
you may leave the data structure in an unstable state, and the applet will not
work correctly until you create a brand new data structure.
|
Chapter 1 -- Overview (No applets) Chapter 2 -- Arrays Chapter 3 -- Simple Sorting Chapter 4 -- Stacks and Queues Chapter 5 -- Linked Lists Chapter 6 -- Recursion Chapter 7 -- Advanced Sorting |
Chapter 8 -- Binary Trees Chapter 9 -- Red-black Trees Chapter 10 -- 2-3-4 Trees Chapter 11 -- Hash Tables Chapter 12 -- Heaps Chapter 13 -- Graphs Chapter 14 -- Weighted Graphs |