Two Sigma frontend mock interview
Pick from 10 questions candidates reported at Two Sigma or its interview guide picks, solve them against the clock, then answer the follow-ups.
Build your interview
Pick up to 6 questions, or add them at random. They share one clock and open in any order.
Two Sigma's 10 questions are part of Pro. Choose Google, Meta, Amazon, Microsoft and Flipkart to pick from their free questions.
Your interview
0 of 6
0min on one clock
- 1Choose a free company to start
Two Sigma mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The Two Sigma loop
The rounds Two Sigma runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Online assessmentSome candidates take a timed coding test first. A 2020 New York candidate for an experienced role was given two LeetCode-style problems, Longest String Chain and Friend Circles.
- 2Technical phone screenOne coding problem with follow-ups, sometimes with fundamentals first. Reported prompts include a weighted random picker, a random stock picker that never repeats until the list is exhausted, and counting parenthesis insertions.
- 3Technical interviewsTwo Sigma says the first half is three 60-minute interviews in a shared codepair editor, in C, C++, Java or Python, covering data structures, algorithms, object-oriented design and sometimes systems design.
- 4Additional interviewsIf you advance, more interviews of about 60 minutes on your technical skills, past projects and interests. Two Sigma says you will likely discuss your contributions in previous roles.
- The full Two Sigma interview guide
Two Sigma questions in this mock interview
Every one of them opens with Pro.
JavaScript round10
- Valid parentheses using a stack15 min
- Implement an LRU cache35 min
- Build an in-memory key-value store with nested transactions40 min
- Add and multiply huge integers given as strings, digit by digit25 min
- Shuffle an array uniformly with Fisher–Yates and explain why random sorting is biased20 min
- Solve grid BFS problems: count islands and minutes until every orange rots40 min
- Design a min stack and a randomized set with O(1) operations30 min
- Build a Bloom filter with a tunable false-positive rate40 min
- Convert currencies over a graph of exchange rates: indirect paths and reverse edges30 min
- Find the longest valid parentheses substring50 min
How the mock interview works
- 1Step 1
Build your interview
Pick how many questions you want from each round, the level and a company. Google, Meta, Amazon, Microsoft and Flipkart are free with an account; every other company is in Pro.
- 2Step 2
Solve them against the clock
The room goes full screen: your questions down the left, the problem beside a real editor with tests, and one clock for the whole set. Open the questions in any order.
- 3Step 3
Answer the follow-ups
Then the interviewer asks follow-up questions. Answer each one out loud, open the model answer, and grade yourself as strictly as an interviewer would.
- 4Step 4
Read your debrief
Tests or design, follow-ups and time add up to a score out of 100 for each question, with the verdict a debrief would give. Every score is saved to your dashboard.