Technique
Binary search
Finding a value in sorted data by halving the search range each step.
Learn firstSorting
Binary search
What should you learn before Binary search?
- Time and space complexityDescribing how an algorithm's cost grows with input size (Big-O).
- SortingBinary search needs sorted data.
Practise Binary search
- Search a Sorted ArrayCoding problem · easy