Two Sigma Data Scientist Interview Questions

Practice the exact questions companies are asking right now.

48 Questions 1 Company04.21.2026
Showing 20 results
Role
Two Sigma logo
Two Sigma
Easy
Data Scientist Locked

Design a house-price prediction model

This question evaluates machine learning and data science competencies including regression model design, feature engineering, data-splitting and leak...

Machine Learning
9
0
68 people solved
Dec 15, 2025
Two Sigma logo
Two Sigma
Easy
Data Scientist Locked

Merge two sorted lists

This question evaluates a candidate's competency in array manipulation and merging algorithms, emphasizing understanding of ordered data and time comp...

Coding & Algorithms
4
0
69 people solved
Feb 13, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Merge Two Sorted Lists

This question evaluates proficiency with linked list data structures, pointer manipulation, in-place merging of sorted sequences, and general algorith...

Coding & Algorithms
10
0
68 people solved
Mar 18, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Forecast bikes available at a station

This question evaluates proficiency in time-series forecasting, feature engineering, handling temporal data splits, and incorporating operational cons...

Machine Learning
4
0
70 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist

Slopes of y-on-x vs x-on-y Regression: Relationship and When They Are Equal

You fit two simple ordinary least squares (OLS) regressions, each with an intercept, on the same paired dataset $(x_i, y_i)$ for $i = 1, \dots, n$: 1....

Machine Learning
5
0
40 people solved
Nov 28, 2025
Two Sigma logo
Two Sigma
Medium
Data Scientist Locked

Evaluate Piecewise Linear Function

This question evaluates understanding of piecewise linear interpolation, numerical reasoning, and the ability to handle ordered 2D point data and edge...

Coding & Algorithms
4
0
48 people solved
Mar 3, 2026
Two Sigma logo
Two Sigma
Hard
Data ScientistIntern

Predict a Company's Stock Price from Six Years of Web Search Logs

You are given a DataFrame containing the past six years of web search logs. Each row is a single search event with the following columns: | Column | T...

Machine Learning
1
0
32 people solved
Nov 2, 2025
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Derive correlation bounds and omitted-variable bias

This question evaluates understanding of multivariate correlation structure and linear regression properties, focusing on feasible ranges and construc...

Machine Learning
15
0
113 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Medium
Data ScientistIntern

Predict Stock Prices from Google Search Data

You are given access to historical Google search data — relative search volume over time for arbitrary query terms — along with standard historical ma...

Machine Learning
6
0
46 people solved
Dec 1, 2024
Two Sigma logo
Two Sigma
Medium
Data Scientist

Compute Piecewise Linear Interpolation

You are given an unsorted list of distinct 2D points (x_i, y_i). When the points are sorted by x_i, connecting adjacent points forms a polyline. Given...

Coding & Algorithms
1
0
11 people solved
Apr 21, 2026
Two Sigma logo
Two Sigma
Medium
Data Scientist Locked

Maximize profit from one stock trade

This question evaluates algorithmic problem-solving skills with emphasis on array processing, numeric optimization, and time/space complexity analysis...

Coding & Algorithms
7
1
113 people solved
Jan 22, 2026
Two Sigma logo
Two Sigma
Medium
Data Scientist Locked

Compute robust linear interpolation with edge cases

This question evaluates understanding of linear interpolation, representation as convex combinations, handling of degenerate input cases, bounding int...

Statistics & Math
6
0
72 people solved
Oct 13, 2025
Two Sigma logo
Two Sigma
Medium
Data Scientist

Implement merge sort and largest 1-rectangle

The coding round included two algorithm questions: 1. Implement merge sort for an array of integers. Return the sorted array and explain its time and ...

Coding & Algorithms
7
0
53 people solved
Feb 26, 2026
Two Sigma logo
Two Sigma
Medium
Data Scientist Locked

Return sorted values after quadratic transform

This question evaluates understanding of mathematical transformations and array manipulation, specifically how applying a quadratic function affects t...

Coding & Algorithms
4
0
69 people solved
Jan 22, 2026
Two Sigma logo
Two Sigma
Medium
Data ScientistIntern

Linear Interpolator with Extrapolation

Linear Interpolator with Extrapolation You are given n knot points in a 2D coordinate system, where knots[i] = [x_i, y_i]. All x-coordinates are disti...

Coding & Algorithms
8
0
57 people solved
Sep 10, 2025
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Add two integer strings using digit-adder

This question evaluates proficiency in string-based arithmetic, digit-wise addition, carry propagation, and management of arbitrarily large non-negati...

Coding & Algorithms
6
0
53 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist

Expected Number of Good Pairs in a Randomly Weighted Complete Graph

Expected Number of Good Pairs in a Randomly Weighted Complete Graph You are given a complete graph on n vertices — every pair of distinct vertices is ...

Coding & Algorithms
0
0
8 people solved
Dec 2, 2025
Two Sigma logo
Two Sigma
Hard
Data Scientist

Smallest Palindrome Strictly Greater Than K

A palindrome is a positive integer whose decimal representation reads the same forwards and backwards, with no leading zeros. For example, 7, 44, 121,...

Coding & Algorithms
0
0
7 people solved
Nov 28, 2025
Two Sigma logo
Two Sigma
Medium
Data ScientistIntern

Why Is the Sample Mean Approximately Normal for Large Samples?

In statistics we routinely treat the average of a large sample as if it were normally distributed — for example, when building confidence intervals fo...

Machine Learning
3
0
23 people solved
Dec 1, 2024
Two Sigma logo
Two Sigma
Easy
Data Scientist

Median, Variance, and Linear Trend of a Daily Temperature Dataset

Median, Variance, and Linear Trend of a Daily Temperature Dataset You are given n daily temperature readings collected in New York City. The data is a...

Coding & Algorithms
0
0
7 people solved
May 13, 2025

Explore more Two Sigma Data Scientist interview questions

Real questions from candidate reports, grouped by topic, role and company.

By category
Other roles at Two Sigma
Data Scientist questions at other companies
Browse all