Company
Two Sigma interview questions
55 practice questions in the style of Two Sigma's interviews, covering Coding & Algorithms, Data Manipulation (SQL/Python), Machine Learning, Statistics & Math, ML System Design, System Design, Behavioral & Leadership.
6 easy25 medium24 hard
Two Sigma interview questions by the numbers
Last updated
Katkat has 55 Two Sigma interview questions. The largest topics are Coding & Algorithms (49%), Machine Learning (29%) and Statistics & Math (9%). By difficulty: 11% easy, 45% medium and 44% hard. The most common round is Technical Screen (71%). Frequent concepts include Feature Engineering, Algorithms, Regression and Statistics.
Topics
- Coding & Algorithms49% · 27
- Machine Learning29% · 16
- Statistics & Math9% · 5
- ML System Design5% · 3
- Behavioral & Leadership4% · 2
- System Design2% · 1
Difficulty
- Easy11% · 6
- Medium45% · 25
- Hard44% · 24
Interview rounds
- Technical Screen71% · 39
- Online Assessment16% · 9
- Onsite13% · 7
Roles
- Data Scientist71% · 39
- Software Engineer24% · 13
- Quantitative Researcher4% · 2
- Machine Learning Engineer2% · 1
Frequent concepts
- Feature Engineering9% · 5
- Algorithms7% · 4
- Regression7% · 4
- Statistics7% · 4
- Hypothesis Testing5% · 3
- Inference5% · 3
Most mentioned in interview experiences
- 1.Analyze Temperatures and Update Regression1 report
- 2.Compute Piecewise Linear Interpolation1 report
- 3.Design and Scale Quantitative Optimization Workflows1 report
- 4.Evaluate piecewise linear function at x1 report
- 5.Implement binary encode/decode with frequency tree1 report
- 6.Linear Interpolator with Extrapolation1 report
- 7.Match Limit Orders with Price-Time Priority1 report
Counted from 3 candidate interview experiences on Katkat. How we collect and count
Showing 1–30 of 55 results
This problem tests string manipulation, modular arithmetic, and the ability to manage carry-over logic manually to perform addition on integers that exceed the capacity of standard numeric data types.
Two SigmaData ScientistCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency in time-series filtering, relational joins, grouped aggregations (median and high-percentile calculations), numeric stability of percentile methods, and performance-aware vectorized data manipulation using SQL or pandas.
Two SigmaData ScientistData Manipulation (SQL/Python)Online AssessmentThis question evaluates proficiency in time-series and statistical analysis (defining volatility and similarity metrics), supervised regression modeling with mean squared error evaluation, greedy feature selection, and streaming/no-intercept linear regression updates.
Two SigmaData ScientistMachine LearningOnline AssessmentThis multipart problem evaluates competency in probability and mathematical statistics, covering order statistics and covariance, the rationale for degrees of freedom in sample variance, z-test sample size calculation, and a one-sided concentration inequality, categorized under Statistics & Math for a Data Scientist role and combining conceptual derivations with practical formula application. Such questions are commonly asked to verify mathematical rigor in deriving expectations and covariances, understanding sampling distributions and unbiased estimation, applying hypothesis testing power formulas, and proving probabilistic inequalities that underpin statistical reasoning.
Two SigmaData ScientistStatistics & MathTechnical ScreenThis question evaluates algorithmic problem-solving skills in combinatorial optimization and resource allocation, focusing on reasoning about cost differences when assigning 2n workers into two equal-sized tasks and belongs to the Coding & Algorithms domain.
Two SigmaData ScientistCoding & AlgorithmsTechnical ScreenThis question evaluates algorithmic implementation skills and numeric reasoning, focusing on stateful simulation of autoscaling behavior and capacity arithmetic under streaming throughput readings.
Two SigmaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a data scientist's competency in end-to-end supervised machine learning for real-estate pricing, focusing on precise outcome definition, feature engineering, handling missing and time-varying data, and robustness to market regime changes.
Two SigmaData ScientistMachine LearningOnsiteThis question evaluates skills in algorithm design and numerical interpolation, including sorting and searching among 2D points, handling boundary cases for extrapolation, and computing linear interpolation accurately and efficiently.
Two SigmaData ScientistCoding & AlgorithmsOnline AssessmentCompute maximum currency exchange rate evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Two SigmaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's understanding of grid-based connected components and spatial equivalence, measuring competency in representing and distinguishing island shapes regardless of their location.
Two SigmaData ScientistCoding & AlgorithmsOnsiteThis question evaluates proficiency in ordinary least squares linear regression (with intercept), basic statistical summaries such as standard deviation and median, and model-evaluation metrics like in-sample mean squared error applied to aligned daily time-series temperature data.
Two SigmaQuantitative ResearcherMachine LearningTechnical ScreenThis problem tests your understanding of the constraints on correlation matrices and your ability to analytically derive the bias introduced in linear models when a relevant predictor is ignored.
Two SigmaData ScientistMachine LearningTechnical ScreenDesign an enterprise GenAI research agent platform, evaluating trade-offs between fine-tuning methods (Full, LoRA, QLoRA) versus RAG, alongside agent orchestration, structured outputs, and safety controls.
Two SigmaSoftware EngineerML System DesignTechnical ScreenThis problem evaluates your ability to design a robust end-to-end machine learning pipeline for house price prediction, focusing on data preprocessing, feature engineering, and validation strategy.
Two SigmaData ScientistMachine LearningTechnical ScreenDesign a scalable, deterministic quantitative optimization and backtesting platform capable of executing 30,000 portfolio optimization runs with strict point-in-time data correctness and full data lineage.
Two SigmaSoftware EngineerSystem DesignTechnical ScreenThis question tests your ability to engineer features from heterogeneous tabular data, handle missing values, and select appropriate evaluation metrics for a high-stakes regression problem.
Two SigmaData ScientistMachine LearningTechnical ScreenThis question tests the ability to efficiently search through sorted interval data and apply linear interpolation to compute the value of a continuous piecewise function at a specific input point.
Two SigmaData ScientistCoding & AlgorithmsOnline AssessmentThis question tests the ability to efficiently search through a sorted collection of coordinates and apply linear interpolation to compute values for a continuous piecewise function.
Two SigmaData ScientistCoding & AlgorithmsOnline AssessmentThis question evaluates competency in numerical interpolation and handling of piecewise linear functions, including locating the correct segment in a sorted sequence of points and managing out-of-range inputs.
Two SigmaData ScientistCoding & AlgorithmsOnline AssessmentThis question evaluates probabilistic reasoning, combinatorics, and order-statistics intuition by asking for the expected count of mutual maximum-edge neighbors (good pairs) in an edge-weighted complete graph with i.i.d. continuous weights.
Two SigmaData ScientistCoding & AlgorithmsTechnical ScreenThis interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Explain move and recent project states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Two SigmaSoftware EngineerBehavioral & LeadershipOnsiteThis question evaluates understanding of the t-statistic, standardized effect sizes, standard errors, hypothesis testing, and interpretation of statistical evidence within the Statistics & Math domain, and it targets conceptual understanding with practical application implications.
Two SigmaData ScientistStatistics & MathTechnical ScreenThis question evaluates a candidate's ability to perform time-series data cleaning and aggregation of duplicate timestamps, plus numerical linear interpolation and boundary value propagation, within the Coding & Algorithms domain.
Two SigmaData ScientistCoding & AlgorithmsOnline AssessmentThis question tests the ability to design a robust time-series forecasting pipeline, specifically addressing feature engineering for cyclic temporal patterns and the selection of appropriate validation strategies for sequential data.
Two SigmaData ScientistMachine LearningTechnical ScreenThis question evaluates a candidate's competency in duplicate detection, record linkage, entity resolution, and data quality assessment within credit card transaction datasets.
Two SigmaData ScientistMachine LearningTechnical ScreenThis problem tests your ability to design a predictive pipeline for spatio-temporal demand, focusing on feature extraction from time-series data and robust validation strategies.
Two SigmaData ScientistMachine LearningTechnical ScreenThis question evaluates behavioral and leadership competencies such as past project execution, collaboration, communication, decision-making, and role fit beyond coding and technical screens.
Two SigmaSoftware EngineerBehavioral & LeadershipOnsiteThis problem tests your ability to design a robust machine learning pipeline for time-series demand forecasting, focusing on feature engineering for exogenous variables and evaluation metrics for spatial-temporal data.
Two SigmaData ScientistMachine LearningTechnical ScreenDesign and implement an in-memory limit order book matching engine supporting buy and sell orders with price-time priority (FIFO) and order cancellation.
Two SigmaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of univariate linear regression and the ordinary least squares (OLS) closed-form estimator, probing competencies in basic statistical estimation, interpretation of slope and intercept, numerical stability, and floating-point arithmetic.
Two SigmaData ScientistCoding & AlgorithmsOnsite
Two Sigma interview experiences
All 4 →- Order-Matching HackerRank Then a Quant Systems Deep DiveTwo Sigma · Quantitative Software Engineer · Technical Screen · Jul 2026
Round 1: HackerRank Coding — Stock Exchange / Order Matching The task was to implement buy/sell order matching: Buy side uses max priority. Sell side uses min priority. Match orders when the price can cross. Handle partial fills. Output trade records. Handle the remaining resting orders. Follow-ups: How to add more tests to increase confidence. Why my output didn't match the sample. How multiple…
- Two OA Questions, Advanced the Next DayTwo Sigma · Software Engineer · New Grad · Online Assessment · Jun 2026In progress
I applied for Two Sigma's New Grad SWE role. I didn't have much hope going in — not long after a mass application round, I got an OA invite: two problems to solve together in one time-limited session. Before applying I'd heard this company has a lot of rejection stories, so I specifically went and dug through the forum to do my homework. Several posts said the OA questions on the forum were the a…
- Piecewise Interpolation, Temperature Prediction, and Streaming Linear Regression on the OATwo Sigma · Data Scientist · Online Assessment · Apr 2026
This Two Sigma research OA is also an old question that's been floating around on the forum. Question 1: You're given a bunch of discrete points that connect into a polyline. Now you're given an x, and you need to compute the corresponding y. If x falls between two points, do linear interpolation; if it falls outside the range, extend the line segments on either end to compute it. The question ma…
- Rejected After One Technical Screen on a Huffman-Style Encoding ProblemTwo Sigma · Software Engineer · Technical Screen · Dec 2025Rejected
11.9 – applied 11.12 – OA 11.24 – got the invite for the next round 12.1 – interview 12.3 – rejection letter The interviewer's English was really good, and he was patient and kept trying to guide me, but at the time I just couldn't understand why we needed to build a tree to encode things. It wasn't until later that it clicked — it's to get a unique binary representation, so that the most frequen…
More companies
- Meta666
- Amazon653
- Google486
- OpenAI342
- Capital One268
- Microsoft252
- DoorDash241
- Anthropic225
- Uber217
- Apple177
- TikTok176
- Pinterest161
- ByteDance160
- LinkedIn154
- Stripe139
- Snowflake130
- Databricks122
- Airbnb112
- Rippling106
- Oracle104
- Coinbase99
- Netflix97
- NVIDIA95
- Snapchat94
- Citadel90
- Waymo90
- Instacart87
- Roblox84
- Salesforce77
- Optiver76
- Shopify63
- Robinhood60
- Atlassian55
- Hudson River Trading55
- J.P. Morgan53
- PayPal53
- xAI53
- Lyft52
- Tesla52
- Other51
