Description

Book Synopsis

Robert Sedgewick is the William O. Baker Professor of Computer Science at Princeton University, where he was founding chairman of the Department of Computer Science. He has held visiting research positions at Xerox PARC, Institute for Defense Analyses, and INRIA, and served on the board of directors at Adobe Systems. His research interests include analytic combinatorics, design and analysis of algorithms and data structures, and program visualization. He has written seventeen books.

 

Kevin Wayne is the Phillip Y. Goldman Senior Lecturer in Computer Science at Princeton University, where he has taught since 1998, earning several teaching awards. He is an ACM Distinguished Educator and holds a Ph.D. in operations research and industrial engineering from Cornell University.



Table of Contents

Programs viii

Preface xi

Chapter 1: Elements of Programming 1

1.1 Your First Program 2

1.2 Built-in Types of Data 14

1.3 Conditionals and Loops 50

1.4 Arrays 90

1.5 Input and Output 126

1.6 Case Study: Random Web Surfer 170

Chapter 2: Functions and Modules 191

2.1 Defining Functions 192

2.2 Libraries and Clients 226

2.3 Recursion 262

2.4 Case Study: Percolation 300

Chapter 3: Object-Oriented Programming 329

3.1 Using Data Types 330

3.2 Creating Data Types 382

3.3 Designing Data Types 428

3.4 Case Study: N-Body Simulation 478

Chapter 4: Algorithms and Data Structures 493

4.1 Performance 494

4.2 Sorting and Searching 532

4.3 Stacks and Queues 566

4.4 Symbol Tables 624

4.5 Case Study: Small-World Phenomenon 670

Context 715

Glossary 721

Index 729

APIs 751

Introduction to Programming in Java

Product form

£54.14

Includes FREE delivery

RRP £56.99 – you save £2.85 (5%)

Order before 4pm tomorrow for delivery by Tue 20 Jan 2026.

A Paperback by Robert Sedgewick, Kevin Wayne

Out of stock


    View other formats and editions of Introduction to Programming in Java by Robert Sedgewick

    Publisher: Pearson Education
    Publication Date: 4/18/2017 12:00:00 AM
    ISBN13: 9780672337840, 978-0672337840
    ISBN10: 0672337843
    Also in:
    Web programming

    Description

    Book Synopsis

    Robert Sedgewick is the William O. Baker Professor of Computer Science at Princeton University, where he was founding chairman of the Department of Computer Science. He has held visiting research positions at Xerox PARC, Institute for Defense Analyses, and INRIA, and served on the board of directors at Adobe Systems. His research interests include analytic combinatorics, design and analysis of algorithms and data structures, and program visualization. He has written seventeen books.

     

    Kevin Wayne is the Phillip Y. Goldman Senior Lecturer in Computer Science at Princeton University, where he has taught since 1998, earning several teaching awards. He is an ACM Distinguished Educator and holds a Ph.D. in operations research and industrial engineering from Cornell University.



    Table of Contents

    Programs viii

    Preface xi

    Chapter 1: Elements of Programming 1

    1.1 Your First Program 2

    1.2 Built-in Types of Data 14

    1.3 Conditionals and Loops 50

    1.4 Arrays 90

    1.5 Input and Output 126

    1.6 Case Study: Random Web Surfer 170

    Chapter 2: Functions and Modules 191

    2.1 Defining Functions 192

    2.2 Libraries and Clients 226

    2.3 Recursion 262

    2.4 Case Study: Percolation 300

    Chapter 3: Object-Oriented Programming 329

    3.1 Using Data Types 330

    3.2 Creating Data Types 382

    3.3 Designing Data Types 428

    3.4 Case Study: N-Body Simulation 478

    Chapter 4: Algorithms and Data Structures 493

    4.1 Performance 494

    4.2 Sorting and Searching 532

    4.3 Stacks and Queues 566

    4.4 Symbol Tables 624

    4.5 Case Study: Small-World Phenomenon 670

    Context 715

    Glossary 721

    Index 729

    APIs 751

    Recently viewed products

    © 2026 Book Curl

      • American Express
      • Apple Pay
      • Diners Club
      • Discover
      • Google Pay
      • Maestro
      • Mastercard
      • PayPal
      • Shop Pay
      • Union Pay
      • Visa

      Login

      Forgot your password?

      Don't have an account yet?
      Create account