Engineering Science and Technology, an International Journal (Oct 2021)

Interpolated binary search: An efficient hybrid search algorithm on ordered datasets

  • Adnan Saher Mohammed,
  • Şahin Emrah Amrahov,
  • Fatih V. Çelebi

Journal volume & issue
Vol. 24, no. 5
pp. 1072 – 1079

Abstract

Read online

The exponential increase in the rate of data size is much higher than the increase in the speed of the computer, which has given much focus to search algorithms in the research literature. Finding an item in an ordered dataset is an efficient method in the data processing. However, binary and interpolation algorithms are commonly used to search ordered datasets in many applications. In this paper, we propose a hybrid algorithm for searching ordered datasets based on the idea of interpolation and binary search. The proposed algorithm is called Interpolated Binary Search (IBS). It is well known that the performance of traditional interpolation search depends specifically on key distribution, and its performance degrades significantly in non-uniform distributed datasets. Therefore, our proposed algorithm works efficiently on various distribution datasets. In particular, IBS aims to search datasets of unknown distribution or datasets that change dynamically and produce a dynamic distribution. Experimental results show that IBS performs better compared to other algorithms that use a similar approach.

Keywords