Data Structures & Other Objects Using Java
This book takes a gentle approach to the data structures course in Java. It offers an early, self-contained review of object-oriented programming and Java to give students a firm grasp of key concepts, and allows those experienced in other languages to adjust easily. The book also offers a flexibility which allows professors such options as emphasizing object-oriented programming, covering recursion and sorting early or accelerating the pace of the course. This title meets the needs of professors searching for a book to balance the introduction of object-oriented programming and data structures with Java.
Results 1-3 of 45
The tracing was all accomplished with the usual mechanism for activating a
method — no special treatment was needed to trace recursive calls. In the
example there are two levels of recursive calls: 1. superWriteVertical (-36) made
a recursive ...
The easiest solution requires an extra parameter, called level, which indicates
how deep the recursion has proceeded. When the revised method is called from
a program, the value of l evel should be given as zero. Each recursive call ...
A common place for an error is the calculation of the size of the array for the
recursive call. The implementation in Figure 11.2 has two recursive calls, and it's
important to double-check the expression for the size of the array segment that is
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown