Two Sigma Coding Interview Questions

We track 20 coding questions asked at Two Sigma, tagged with the algorithms and concepts they test. The most common: Array, Dynamic Programming, String, Binary Search, Depth-First Search.

Browse all 20 Two Sigma questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 20 tracked Two Sigma questions that touch each concept. Questions usually involve several, so these overlap.

Where Two Sigma differs from the average company

Concept weight at Two Sigma relative to the average across all companies we track. Green means Two Sigma leans on it harder than most.

Two Sigma specialties

Concepts that show up at Two Sigma but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 20 tracked Two Sigma questions.

  • Junior15% (3)
  • Mid/Senior55% (11)
  • Staff30% (6)

Every concept in Two Sigma interviews

ConceptQuestions% of questionsShare of mix
Array1155.0%15.3%
Dynamic Programming630.0%9.0%
String525.0%8.1%
Binary Search315.0%3.6%
Depth-First Search315.0%3.9%
Hash Table315.0%3.4%
Math315.0%4.8%
Matrix315.0%4.1%
Simulation315.0%5.1%
Sorting315.0%3.4%
Breadth-First Search210.0%2.5%
Divide and Conquer210.0%2.5%
Graph Theory210.0%2.8%
Prefix Sum210.0%2.5%
Recursion210.0%3.2%
Two Pointers210.0%2.0%
Union-Find210.0%2.5%
Backtracking15.0%1.1%
Binary Tree15.0%1.4%
Bit Manipulation15.0%1.9%
Design15.0%1.4%
Greedy15.0%1.4%
Heap (Priority Queue)15.0%1.4%
Linked List15.0%1.4%
Merge Sort15.0%1.4%
Monotonic Queue15.0%1.1%
Queue15.0%1.1%
Randomized15.0%1.1%
Stack15.0%2.8%
Topological Sort15.0%1.4%
Tree15.0%1.4%
Trie15.0%1.1%

Practice a Two Sigma interview

Take a realistic AI-led mock interview with questions Two Sigma actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required