What is Lazy Binary Search?
I don't know whether the term "Lazy" Binary Search is valid, but I was going through some old materials and I just wanted to know if anyone can explain the algorithm of a Lazy Binary Search and compare it to a non-lazy Binary Search. Let's say, we have this array of numbers: 2, 11, 13, 21, 44, 50, 69, 88 How to look for the number 11 using a Lazy Binary Search? As far as I am aware "Lazy binary search" is just another name for " Binary search ". Justin was wrong. The common binarySearch algorithm first checks whether the target is equal to current middle entry before proceeding to the left or