Published by Sams Publishing (September 6, 2017) © 2018
Robert LaforeData Structures and Algorithms in Java, Second Edition is designed to be easy to read and understand although the topic itself is complicated. Algorithms are the procedures that software programs use to manipulate data structures. Besides clear and simple example programs, the author includes a workshop as a small demonstration program executable on a Web browser. The programs demonstrate in graphical form what data structures look like and how they operate. In the second edition, the program is rewritten to improve operation and clarify the algorithms, the example programs are revised to work with the latest version of the Java JDK, and questions and exercises will be added at the end of each chapter making the book even more useful.
Educational Supplement
Suggested solutions to the programming projects found at the end of each chapter are made available to instructors at recognized educational institutions. This educational supplement can be found at www.prenhall.com, in the Instructor Resource Center.
- Introduction.
- 1. Overview.
- 2. Arrays.
- 3. Simple Sorting.
- 4. Stacks and Queues.
- 5. Linked Lists.
- 6. Recursion.
- 7. Advanced Sorting.
- 8. Binary Trees.
- 9. Red-Black Trees.
- 10. 2-3-4 Trees and External Storage.
- 11. Hash Tables.
- 12. Heaps.
- 13. Graphs.
- 14. Weighted Graphs.
- 15. When to Use What.
- Appendix A. Running the Workshop Applets and Example Programs.
- Appendix B. Further Reading.
- Appendix C. Answers to Questions.
- Index.