
1070 CHAPTER 14 An Introduction to Data Structures
In the CD-ROM included in this book,you will find a Flash movie with a step-by-step illustration of
sorted linked list methods.Click on the link to Chapter 14 to start the movie.
CODE IN ACTION
shows the output of Example 14.16. As we can see, players remains sorted in
ascending order after each insertion.
14.9 Programming Activity 2: Writing Insert and Delete
Methods for a Sorted Linked List
In this activity, you will work with a sorted linked list of integers, perform-
ing the following activity:
Code the insert and delete methods to insert and delete nodes in a sorted
linked list of ints.
The framework ...