skip to main content
article
Free Access

Using binary search on a linked list

Authors Info & Claims
Published:01 August 1990Publication History
Skip Abstract Section

Abstract

In this article a variation of binary search applicable to a linked list structure is examined. There are no additional data structure properties imposed on the list; that is the list may be singly or multiply linked, but it is not required that the list be represented as a binary tree. The process can be used with improved efficiency in place of linear search on a linked list where introducing additional data structures complexity on the list is not desirable.This procedure seems appropriate for inclusion in data structures courses where searching and sorting are discussed. The texts on data structures cover the binary search on a fixed length sequence, but the general consensus is that there is no advantage in trying to implement the binary search process on linked lists. One possible exception in this regard, where no details are provided, is [2, page 147].

References

  1. [1] The Art of Computer Programming, Volume 3: Searching and Sorting, by D.E. Knuth, Addison-Wesley, Reading, Massachusetts, 1973.Google ScholarGoogle Scholar
  2. [2] Principles of Data Structures and Algorithms with Pascal , by Robert R. Korfhage and Norman E. Gibbs, Wm. C. Brown Publishers, Dubuque, Iowa, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. [3] Data Structure Techniques, by Thomas A. Standish, Addison-Wesley, Reading, Massachusetts, 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Using binary search on a linked list

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          • Published in

            cover image ACM SIGCSE Bulletin
            ACM SIGCSE Bulletin  Volume 22, Issue 3
            Sep. 1990
            66 pages
            ISSN:0097-8418
            DOI:10.1145/101085
            Issue’s Table of Contents

            Copyright © 1990 Author

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 August 1990

            Check for updates

            Qualifiers

            • article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader