NewThe Learning module is now liveSee what's new
avatar
arjunpatelSep 5, 2026

Two Sigma SWE loop, OA to VO breakdown

Interview Experiences
two sigma

Two Sigma SWE loop, OA to VO breakdown

Just finished my Two Sigma SWE loop, figured I'd share since the interview post-mortems here have helped me a lot for other companies.

OA was the classic two question set, IPO share allocation and Split Drainage Tree, cut one edge in a tree to make the two resulting flow totals as close as possible. Did a DFS to get subtree sums first then scanned all possible cuts for the minimum difference. Looked both up afterward and turns out they show up in a bunch of OA writeups already.

Phone screen was OOD, in-memory mini DB, create table, insert, select with AND-only conditions. Bar felt pretty low here honestly, mostly about getting something that actually runs rather than clean code, so I focused on parsing the select clause correctly and left exception handling for last.

VO was two rounds, one algorithm round on a tree max independent set problem (had to write my own test cases too), one system design round for an internal dataset ingestion tool, pretty different from a typical consumer app SD question.

Still waiting to hear back. If anyone has the mini DB round coming up, don't over-invest in edge case handling early, just get it running first.

6871.1k

Replies (5)

avatar
User-ui9x7Sep 5, 2026

tree max independent set with your own test cases sounds stressful, how much time did you get

27
avatar
User-v8kdgSep 5, 2026

usually about 45 minutes from what I've seen for that round

18
avatar
vikramreddy1995Sep 5, 2026

the mini db bar being just get it running is good to know, I would've wasted time on exception handling

21
avatar
User-95hpkSep 5, 2026

hope the SD round lands well, internal tooling questions are refreshing compared to another design twitter clone

14
avatar
ethanliu4829Sep 5, 2026

the drainage partition question is such a Two Sigma classic at this point, glad you got exposure to it beforehand

6
avatar
User-o77jdSep 5, 2026

yeah searching before the OA seems to be basically expected for this company

26
avatar
User-m8d7pSep 5, 2026

good luck waiting to hear back, two sigma timelines seem to vary a lot

4
No more replies