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 14
(On the other hand, if many- Items-- appears as an expression, the value of the
expression is the value of manyItems prior to subtracting one.) Similarly, the last
two statements of add can be combined to data [many Items++] = element; 12 ...
The number of elements in the bag is in the instance variable many Items. // 2.
For an empty bag, we do not care what is stored in any of data; // for a nonempty
bag, the elements in the bag are stored in data / / through data[manyltems-1 ] ...
In actual fact, there are far fewer than n operations, since many of the input
symbols are digits or parentheses. ... Once we know the total number of items that
are pushed onto the two stacks, we have a bound on how many things can be ...
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown