Two Sigma coding interview questions
Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
No questions match these filters.
Also reported, being added to AlgoRung (18)
Maximum set of pairwise strangers in an acquaintance tree · Allocate IPO shares among bidders · Split a weighted tree into balanced parts · Next smallest palindrome greater than a number · Evaluate a piecewise linear function with interpolation · Maximum Subarray Sum with One Deletion · Power of Four · Minimum Space Wasted From Packaging · IPO · Maximum currency conversion rate across exchange pairs · Limit order matching with price-time priority · Huffman-style encode and decode with a frequency tree · Encode every root-to-leaf path of a binary tree as a bit string · Fewest steps out of a grid maze with periodic walls and teleporters · All subsequences after deleting one character · Autoscale a server fleet from throughput readings · Parse and merge timestamped log streams · Rebuild an order book from a feed, including cancels
Questions people ask
What coding questions does Two Sigma ask most?
Two City Scheduling, Number of Distinct Islands, Merge Two Sorted Lists, Add Strings, Sort Transformed Array, Best Time to Buy and Sell Stock, Random Pick with Weight, Number of Provinces.
Which topics come up in Two Sigma coding rounds?
dynamic programming, graphs, strings, trees, heaps, design data structure.
How hard are Two Sigma coding questions?
Of the reported questions, 6 are easy, 15 medium and 7 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.