Binary Search Variants
2 min readOct 2, 2022
Binary search is a popular algorithm widely known for its efficiency and simplicity.
If you have had the joy to use it, I am sure you will have found that there are some important implementation differences, often referred to as variants.
In this article, I aim to describe some of them and what type of problems they solve.