InterviewLegend

Older Practice Problems (2022-2025)

Alex Chen45 min readGuide updated

Every problem on this page came from a Two Sigma interview, and none has been asked in the last twelve months. Each heading carries its years. The 2025 ones test tools the current rounds still lean on: a sweep over sorted events, a binary search on the answer, a heap, a BFS and a trie. Multiply Strings is here because two candidates got it, in 2022 and again in 2023.

Do the current material first. The online assessment lesson covers the IPO share allocation and drainage tree pair candidates describe through 2026, and Order Books & Matching has the most reported screen. Come back here for extra reps once those feel solid.

The Two Sigma angle
Each one turns on one rule buried in the statement. Inclusive endpoints, a threshold that isn't spent, a minimum you can binary search, water that rises every minute, a minus sign on a zero. Find that rule and a standard tool does the rest.

Two SigmaPremium lesson · Coding round

The 6 Two Sigma problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Easy

+ 3 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Two Sigma questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Two Sigma interview guide

Know what Two Sigma asks before you walk in.

21 coding · 4 system design · 13 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Two Sigma interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.