Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Other Operations on Sorted Lists

Unfortunately, it is not possible to do a binary search in a linked list. As a result, it is not possible to exploit the sortedness of the list in the implementation of any of the other required operations on sorted lists. The functions inherited from the ListAsLinkedList provide all of the needed functionality.


next up previous contents index

Bruno Copyright © 1997 by Bruno R. Preiss, P.Eng. All rights reserved.