Problem bank
MediumBinary SearchNeetCode 150 · #33/150

Time Based Key-Value Store

  1. 1
    Learn the pattern

    Sorted or rotated array → halve the search space every step. Write lo <= hi and test n=1.

  2. 2
    Trace your version

    Paste your solution into the workspace and watch every step execute.

    Open workspace
  3. 3
    Solve it

    Solve it on LeetCode, then mark it solved here to keep your streak alive.

Find Minimum in Rotated Sorted ArrayMedian of Two Sorted Arrays