We use cookies for analytics and ad measurement to improve lessons. Cookie policy

Memory gallery / 3Sum

Medium · Sorting

3Sum

Find unique triples whose values sum to zero.

3Sum memory room
A pan scale hangs in the air between her stretched hands and swings itself level the instant the third stone joins the pair. — Sorted, two hands converge inward.

Retrieval check

With the notes hidden, what pattern should this room bring back?

Related free rooms

  • Interval Scheduling (Activity Selection)
  • Merge Intervals
  • Two Sum II - Input Array Is Sorted