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 73
3.1 A REVIEW OF JAVA ARRAYS An array is a sequence with a certain number
of components. We draw arrays with each component in a separate box. For
example, here's an array of the four integers 7, 22, 19, and 56: Each component
of an ...
As was the case with the stack class, we will give two implementations of our
queue class: an implementation that stores the items in an array, and an
implementation using a linked list. Each implementation will be an ObjectQueue,
but as we ...
The Partition Method Since we have no information about the values in the array,
all values have an equal probability of being the value that belongs in the middle
of the array. Moreover, we know that the algorithm will work no matter what ...
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown