InterviewLegend

The Research & PhD Intern OA

Alex Chen45 min readGuide updated

If you're interviewing for full-time software engineering, this is the wrong test, so skip ahead. That OA is the IPO allocation and the drainage tree, and it has its own lesson. This lesson covers the test PhD software interns, quant research interns and data scientists describe, often called the Two Sigma QR OA or the research code test.

It's data work rather than puzzles. You fill in a curve between points, fit a slope with no intercept, then fit it again as new batches of rows arrive, and you answer a run of questions about a table of daily temperatures. Two Sigma's own page on quantitative research interviews lists data analysis and open-ended problem solving, coding and algorithms, and statistics or your research domain for PhDs. The OA is a small, timed taste of the first two.

The Two Sigma angle
The math is easy, and the spec is where people lose points. A slope is one division and interpolation is one line. What breaks answers is a duplicate x value, a query past the last knot, or a running total kept wrong between batches. Read every rule twice before you write anything.

Two SigmaPremium lesson · Coding round

The 4 Two Sigma problems are below.

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

+ 1 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.