Easy14 steps
Two Sum
Find the pair of indices whose values add up to a target.
Arrays & Hash Map
Python · Java · C++ · JSInspect →
10 modules ready
Find the pair of indices whose values add up to a target.
Narrow a sorted range with low, mid, and high pointers.
Split, sort, and merge values into ordered segments.
Mutate next pointers while preserving the remaining chain.
Traverse tree levels through a FIFO queue.
Mark connected land cells with recursive traversal.
Explore a graph in breadth-first order to reach a target.
Relax weighted edges with a priority queue.
Use a stack to validate matching bracket pairs.
Move dual pointers to maximize contained water.