Java Software Structures: Designing and Using Data Structures
The second edition of Java Software Structures embraces the enhancements of Java 5.0, where all structures and collections are based on generics. The framework of the text walks the reader through three main areas: conceptualization, explanation, and implementation, allowing for a consistent and coherent introduction to data structures. The addition of integrated case studies provides complete examples to aid readers starting with the problem statement, to design rationale, through full implementation. Readers will learn how to develop high-quality software systems using well-designed collections and algorithms.
Results 1-3 of 47
10.1 RECURSIVE THINKING Key Concept Recursion is a programming
technique in which a method calls itself. A key to being able to program
recursively is to be able to think recursively. We know that one method can call
another method to ...
FIGURE 10.1 Tracing the recursive definition of a list Infinite Recursion Note that
this definition of a list contains one option that is recursive, and one option that is
not. The part of the definition that is not recursive is called the base case.
Designing and Using Data Structures John Lewis, Joseph Chase. Recursion vs.
Iteration Of course, there is a nonrecursive solution to the summation problem we
just explored. One way to compute the sum of the numbers between 1 and num ...
What people are saying - Write a review
17 other sections not shown