20 problems · 4 Easy, 11 Medium, 5 Hard · Ranked #93 of 458
Difficulty breakdown
4 Easy
20% · avg 23%
11 Medium
55% · avg 59%
5 Hard
25% · avg 18%
Top topics
array
65%
dynamic-programming
35%1.8x
binary-search
25%2.8x
string
25%
math
20%1.6x
hash-table
20%
Interview profile
Based on 20 reported problems, Two Sigma interviews are slightly harder than average - 25% Hard vs 18% across all companies. The majority (55%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.
Compared to the industry average, Two Sigma puts unusual emphasis on trie (10% of problems, 3.8x the industry average), simulation (15% of problems, 3.5x the industry average), graph (10% of problems, 3.4x the industry average). If you're short on time, these are the categories to double down on.
The most common topics are array (65%), dynamic-programming (35%), binary-search (25%), string (25%). Problems below are sorted by frequency, the ones at the top are asked most often.
All 20 problems
Problem
Difficulty
Frequency
Topics
Minimum Operations to Reduce an Integer to 0
You are given a positive integer n, you can do the following operation any number of times:
There are n cities. Some of them are connected, while some are not. If city a is connected directly with city b, and city b is connected directly with city c, t...
Given an array of integers, return the maximum sum for a non-empty subarray (contiguous elements) with at most one element deletion. In other words, you want to...
According to Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway...
Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must be unique and you may return the result in any...
You are given an integer n, which indicates that there are n courses labeled from 1 to n. You are also given a 2D integer array relations where relations[j] = [...
You have n packages that you are trying to place in boxes, one package in each box. There are m suppliers that each produce boxes of different sizes (with infin...
There are n cities. Some of them are connected, while some are not. If city a is connected directly with city b, and city b is connected directly with city c, t...
Given an array of integers, return the maximum sum for a non-empty subarray (contiguous elements) with at most one element deletion. In other words, you want to...
According to Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway...
Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must be unique and you may return the result in any...
You are given an integer n, which indicates that there are n courses labeled from 1 to n. You are also given a 2D integer array relations where relations[j] = [...
You have n packages that you are trying to place in boxes, one package in each box. There are m suppliers that each produce boxes of different sizes (with infin...
You are given an array prices where prices[i] is the price of a given stock on the ith day.
EasyLikely
arraydynamic-programming
How often are these problems asked?
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Two Sigma interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Preparing for your Two Sigma coding interview
Two Sigma interviews focus heavily on array, dynamic-programming, binary-search problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.
Beyond solving problems, practice explaining your approach. Two Sigma interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.
What coding problems does Two Sigma ask in interviews?add
Two Sigma has been reported to ask 20 distinct coding problems. The most common topics are array, dynamic-programming, binary-search. 4 are Easy difficulty, 11 are Medium, and 5 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.
How hard are Two Sigma coding interviews?add
Based on 20 reported problems, Two Sigma interviews are slightly harder than average - 25% Hard vs 18% across all companies. 55% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.
How should I prepare for a Two Sigma coding interview?add
Start with the highest-frequency problems listed on this page. Focus on the core topics: array, dynamic-programming, binary-search. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.
Simulate a real Two Sigma coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.