Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

JAVA SOFTWARE STRUCTURES,INTERNATIONAL EDITION 4E
Título:
JAVA SOFTWARE STRUCTURES,INTERNATIONAL EDITION 4E
Subtítulo:
Autor:
LEWIS, J
Editorial:
PEARSON
Año de edición:
2013
Materia
JAVA
ISBN:
978-0-273-79332-8
Páginas:
704
89,95 €

 

Sinopsis

The fourth edition of Java Software Structures embraces the enhancements of the latest version of Java, 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. Students learn how to develop high-quality software systems using well-designed collections and algorithms.

Teaching and Learning Experience

To provide a better teaching and learning experience, for both instructors and students, this program will:

Apply Theory and/or Research: Three main areas: conceptualization, explanation, and implementation, allow for a consistent and coherent introduction to data structures.
Engage Students: Hands-on optional case studies and new VideoNotes tutorials offer real-world perspective, and keep students interested in the material.
Support Instructors and Students: Instructor Supplemental Support includes PowerPoint presentation slides, Solution Manual, test bank, case studies with source code, and solutions.



Preface vii

Chapter 1 Introduction 1

1.1 Software Quality 2

Correctness 3

Reliability 3

Robustness 4

Usability 4

Maintainability 5

Reusability 5

Portability 6

Efficiency 6

Quality Issues 6

1.2 Data Structures 7

A Physical Example 7

Containers as Objects 10


Chapter 2 Analysis of Algorithms 15

2.1 Algorithm Efficiency 16

2.2 Growth Functions and Big-Oh Notation 17

2.3 Comparing Growth Functions 19

2.4 Determining Time Complexity 22

Analyzing Loop Execution 22

Nested Loops 22

Method Calls 23


Chapter 3 Introduction to Collections - Stacks 29

3.1 Collections 30

Abstract Data Types 31

The Java Collections API 33

3.2 A Stack Collection 33

3.3 Crucial OO Concepts 35

Inheritance and Polymorphism 36

Generics 37

3.4 Using Stacks: Evaluating Postfix Expressions 38

Javadoc 45

3.5 Exceptions 46

3.6 A Stack ADT 48

3.7 Implementing a Stack: With Arrays 51

Managing Capacity 52

3.8 The ArrayStack Class 53

The Constructors 54

The push Operation 56

The pop Operation 57

The peek Operation 59

Other Operations 59

The EmptyCollectionException Class 59

Other Implementations 60


Chapter 4 Linked Structures - Stacks 67

4.1 R eferences as Links 68

4.2 Managing Linked Lists 70

Accessing Elements 70

Inserting Nodes 71

Deleting Nodes 72

4.3 Elements without Links 73

Doubly Linked Lists 73

4.4 Stacks in the Java API 74

4.5 Using Stacks: Traversing a Maze 75

4.6 Implementing a Stack: With Links 84

The LinkedStack Class 84

The push Operation 88

The pop Operation 90

Other Operations 91


Chapter 5 Queues 97

5.1 A Conceptual Queue 98

5.2 Queues in the Java API 99

5.3 Using Queues: Code Keys 100

5.4 Using Queues: Ticket Counter Simulation 104

5.5 A Queue ADT 109

5.6 A Linked Implementation of a Queue 111

The enqueue Operation 113

The dequeue Operation 115

Other Operations 116

5.7 Implementing Queues: With Arrays 117

The enqueue Operation 121

The dequeue Operation 123

Other Operations 124

5.8 Double-Ended Queues (Deque) 124


Chapter 6 Lists 129

6.1 A List Collection 130

6.2 Lists in the Java Collections API 132

6.3 Using Unordered Lists: Program of Study 133

6.4 Using Indexed Lists: Josephus 144

6.5 A List ADT 146

Adding Elements to a List 147

6.6 Implementing Lists with Arrays 152

The remove Operation 154

The contains Operation 156

The add Operation for an Ordered List 157

Operations Particular to Unordered Lists 159

The addAfter Operation for an Unordered List 159

6.7 Implementing Lists with Links 160

The remove Operation 161


Chapter 7 Iterators 169

7.1 What's an Iterator? 170

Other Iterator Issues 172

7.2 Using Iterators: Program of Study Revisited 172

Printing Certain Courses 176

Removing Courses 177

7.3 Implementing Iterators: With Arrays 179

7.4 Implementing Iterators: With Links 181


Chapter 8 Recursion 187

8.1 Recursive Thinking 188

Infinite Recursion 188

Recursion in Math 189

8.2 Recursive Programming 190

Recursion versus Iteration 193

Direct versus Indirect Recursion 193

8.3 Using Recursion 194

Traversing a Maze 194

The Towers of Hanoi 202

8.4 Analyzing Recursive Algorithms 207

Chapter 9 Searching and Sorting 215

9.1 Searching 216

Static Methods 217

Generic Methods 217

Linear Search 218

Binary Search 220

Comparing Search Algorithms 222

9.2 Sorting 223

Selection Sort 226

Insertion Sort 228

Bubble Sort 230

Quick Sort 232

Merge Sort 236

9.3 Radix Sort 239


Chapter 10 Trees 249

10.1 Trees 250

Tree Classifications 251

10.2 Strategies for Implementing Trees 253

Computational Strategy for Array

Implementation of Trees 253

Simulated Link Strategy for Array

Implementation of Trees 253

Analysis of Trees 255

10.3 Tree Traversals 256

Preorder Traversal 256

Inorder Traversal 257

Postorder Traversal 257

Level-Order Traversal 258

10.4 A Binary Tree ADT 259

10.5 Using Binary Trees: Expression Trees 263

10.6 A Back Pain Analyzer 275

10.7 Implementing Binary Trees with Links 279

The find Method 284

The iteratorInOrder Method 286


Chapter 11 Binary Search Trees 293

11.1 A Binary Search Tree 294

11.2 Implementing Binary Search Trees: With Links 296

The addElement Operation 297

The removeElement Operation 300

The removeAllOccurrences Operation 303

The removeMin Operation 304

Implementing Binary Search Trees: With Arrays 306

11.3 Using Binary Search Trees: Implementing

Ordered Lists 306

Analysis of the BinarySearchTreeList

Implementation 309

11.4 Balanced Binary Search Trees 310

Right Rotation 311

Left Rotation 312

Rightleft Rotation 313

Leftright Rotation 313

11.5 Implementing BSTs: AVL Trees 314

Right Rotation in an AVL Tree 315

Left Rotation in an AVL Tree 315

Rightleft Rotation in an AVL Tree 315

Leftright Rotation in an AVL Tree 317

11.6 Implementing BSTs: Red/Black Trees 317

Insertion into a Red/Black Tree 318

Element Removal from a Red/Black Tree 321


Chapter 12 Heaps and Priority Queues 331

12.1 A Heap 332

The addElement Operation 334

The removeMin Operation 335

The findMin Operation 336

12.2 Using Heaps: Priority Queues 336

12.3 Implementing Heaps: With Links 340

The addElement Operation 342

The removeMin Operation 344

The findMin Operation 347

12.4 Implementing Heaps: With Arrays 347

The addElement Operation 349

The removeMin Operation 350

The findMin Operation 352

12.5 Using Heaps: Heap Sort 352

Chapter 13 Sets and Maps 359

13.1 Set and Map Collections 360

13.2 Sets and Maps in the Java API 360

13.3 Using Sets: Domain Blocker 363

13.4 Usin