## Data Structures and Other Objects Using JavaThis text uses a five-step method for working with data types, to ensure students have a thorough knowledge of the subject and understand the data type abstractly. It also aims to teach students how to use the data type, design and implement it, and analyze the implementation. |

### From inside the book

Results 1-3 of 35

Page 398

In general,

levels, the activation mechanism remains the same as the example that we have

traced. General Form of a Successful Recursive Method Java places no ...

In general,

**recursive calls**may be much deeper than this, but even at the deepestlevels, the activation mechanism remains the same as the example that we have

traced. General Form of a Successful Recursive Method Java places no ...

Page 555

[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] In the

is assigned the value 2. Since a [2] is 29, which is smaller than 42, the next

search (a, ...

[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] In the

**recursive call**, the new local variable mi ddl eis assigned the value 2. Since a [2] is 29, which is smaller than 42, the next

**recursive call**throws away everything at or before a [2]. This**recursive call**,search (a, ...

Page 557

If we total up all the operations used, we've estimated that the algorithm performs

no more than 8+c operations, not counting the work of the

...

If we total up all the operations used, we've estimated that the algorithm performs

no more than 8+c operations, not counting the work of the

**recursive call**. The**recursive call**can produce another**recursive call**, which in turn produces another...

### What people are saying - Write a review

User Review - Flag as inappropriate

trtgfhh

### Contents

Chapter | 2 |

LEARNING OBJECTIVES | 14 |

Chapter Summary and Solutions | 38 |

Copyright | |

25 other sections not shown

### Other editions - View all

### Common terms and phrases

Accessor method activated addAll algorithm applet arithmetic overflow array B-tree binary search tree binary tree BTNode Celsius clone method collection class computation constructor contains copy create current element cursor data type digits double numbers empty example expression extended class Figure graph hash table head reference heap heapsort Indicates insufficient memory information hiding initial capacity input IntArrayBag integer IntNode iterator Java Javadoc linked list Location loop manyItems mergesort method returns node null reference number of elements number of operations package parameter position Postcondition pre-order traversal Precondition priority queue private instance variables pseudocode public boolean public class public int public Object public static void public void quicksort recursive call reference variable remove return value returns true root Self-Test Exercises sequence shown simulation specified stack statement step stored string subtree Suppose target Throttle Throws TreeMap vertex vertices write zero