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 27
Programming Example: Balanced Parentheses Later in this chapter we will
describe how stacks can be used to evaluate arithmetic expressions. At the
moment, we will describe a simpler method called isBalanced that does a closely
However, in practice, infix expressions are usually not fully parenthesized, and
the computer must rely on precedence rules to determine the order of operations
for the missing parentheses. This adds a significant complication. Let's start with ...
1. the operands are in the right order 2. the parentheses are done correctly
Correctness of the Conversion from Infix to Postfix In order for the conversion
algorithm to be correct, we need to check these items: 1. The postfix expression
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown