Using binary search on a linked list

  • Authors:
  • Firooz Khosraviyani

  • Affiliations:
  • Department of Mathematics and Computer Science, The University of Texas of the Permian Basin, 4901 East University Boulevard, ODESSA, TX

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

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].