Binary Search
The fast search which has a search time of O(log n) has been predefined in C++.
We'll cover the following...
The binary search algorithms use the fact that the ranges are already sorted. To search for an element, use std::binary_search
...