Sequential vs. Binary Batched Searching
Open Access
- 1 January 1986
- journal article
- Published by Oxford University Press (OUP) in The Computer Journal
- Vol. 29 (4) , 368-372
- https://doi.org/10.1093/comjnl/29.4.368
Abstract
This study considers an ordered array of N keys and estimates the required number of key comparisons to locate M requested keys when a binary search is performed to find each key. The problem is analysed for the cases where the M requests (a) are performed individually on a First Come First Served basis, and (b) are treated as a batch. For the second case a break point is established which indicates whether it is preferable to apply binary or sequential search for a batch of M keys.Keywords
This publication has 0 references indexed in Scilit: