learn deep. ship safe.Practice testsFollow ByteMunSubscribe

Technique

Binary search

Finding a value in sorted data by halving the search range each step.

Concept map
Learn firstSorting
Binary search

What should you learn before Binary search?

  1. Time and space complexityDescribing how an algorithm's cost grows with input size (Big-O).
  2. SortingBinary search needs sorted data.

Practise Binary search

All topics