TS

Two Sigma

23 questions tracked20 with solutions
🔍
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough

Showing 23 of 23 questions

1
MediumMinimum Operations to Reduce an Integer to 0✓ Our Solution
100
Dynamic ProgrammingGreedyBit Manipulation
LeetCode ↗57% acc.
2
MediumNumber of Provinces✓ Our Solution
100
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗69% acc.
3
MediumRandom Pick with Weight✓ Our Solution
98
ArrayMathBinary SearchPrefix Sum+1
LeetCode ↗48% acc.
4
MediumMaximum Subarray Sum with One Deletion✓ Our Solution
96
ArrayDynamic Programming
LeetCode ↗45% acc.
5
MediumMultiply Strings✓ Our Solution
94
MathStringSimulation
LeetCode ↗42% acc.
6
HardWildcard Matching✓ Our Solution
94
StringDynamic ProgrammingGreedyRecursion
LeetCode ↗30% acc.
7
MediumLongest String Chain✓ Our Solution
94
ArrayHash TableTwo PointersString+2
LeetCode ↗62% acc.
8
MediumGame of Life✓ Our Solution
94
ArrayMatrixSimulation
LeetCode ↗71% acc.
9
EasyPower of Four✓ Our Solution
94
MathBit ManipulationRecursion
LeetCode ↗49% acc.
10
EasyIntersection of Two Arrays✓ Our Solution
94
ArrayHash TableTwo PointersBinary Search+1
LeetCode ↗76% acc.
11
MediumMaximum Sum Circular Subarray✓ Our Solution
94
ArrayDivide and ConquerDynamic ProgrammingQueue+1
LeetCode ↗48% acc.
12
HardWord Search II✓ Our Solution
91
ArrayStringBacktrackingTrie+1
LeetCode ↗37% acc.
13
HardMerge k Sorted Lists✓ Our Solution
72
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
14
HardParallel Courses III✓ Our Solution
72
ArrayDynamic ProgrammingGraphTopological Sort
LeetCode ↗67% acc.
15
MediumDesign Memory Allocator✓ Our Solution
65
ArrayHash TableDesignSimulation
LeetCode ↗48% acc.
16
HardMinimum Space Wasted From Packaging✓ Our Solution
65
ArrayBinary SearchSortingPrefix Sum
LeetCode ↗33% acc.
17
EasyDesign HashMap✓ Our Solution
65
ArrayHash TableLinked ListDesign+1
LeetCode ↗66% acc.
18
MediumSearch Suggestions System✓ Our Solution
56
ArrayStringBinary SearchTrie+2
LeetCode ↗65% acc.
19
MediumDesign Tic-Tac-Toe
56
ArrayHash TableDesignMatrix+1
LeetCode ↗59% acc.
20
HardRobot Room Cleaner
56
BacktrackingInteractive
LeetCode ↗78% acc.
21
MediumSum of Square Numbers✓ Our Solution
56
MathTwo PointersBinary Search
LeetCode ↗37% acc.
22
MediumMeeting Rooms II
56
ArrayTwo PointersGreedySorting+2
LeetCode ↗52% acc.
23
EasyBest Time to Buy and Sell Stock✓ Our Solution
56
ArrayDynamic Programming
LeetCode ↗55% acc.