DE Shaw Coding Interview Questions
55 coding problems are tagged as asked at DE Shaw in interviews and online assessments reported by candidates. By difficulty they split into 10 basic, 31 intermediate and 14 advanced. The topics they most often combine with are Array, String, Math, Hash Table.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns DE Shaw tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- House Robber (Intermediate)
- Majority Element (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Decode Ways (Intermediate)
- Valid Anagram (Basic)
- Coin Change Ways (Advanced)
- Longest Valid Parentheses (Advanced)
- Peak Index in a Mountain Array (Intermediate)
- Maximum Width Ramp (Advanced)
- Minimum Cost to Merge Stones (Advanced)
- Maximum Product Subarray (Intermediate)
- Coin Change Ways (Intermediate)
- Best Time to Buy and Sell Stock II (Intermediate)
- House Robber II (Intermediate)
- Gas Station (Intermediate)
- Container With Most Water (Intermediate)
- Maximum Subsequence Score (Advanced)
- LRU Cache Operations (Basic)
- Text Justification (Intermediate)
- Number of Islands (Basic)
- Rotting Oranges (Intermediate)
- Open the Lock (Intermediate)
- Loud and Rich (Intermediate)
- Longest String Chain (Intermediate)
- Number of Ways to Select Buildings (Intermediate)
- Word Search II Count (Advanced)
- Count Binary Substrings (Basic)
- Basic Calculator II (Intermediate)
- Asteroid Collision (Intermediate)
- Remove Duplicate Letters (Advanced)
- Sum of Subarray Ranges (Intermediate)
- Reorganize String (Intermediate)
- Furthest Building You Can Reach (Intermediate)
- Maximum Performance of a Team (Advanced)
- Take Gifts From the Richest Pile (Basic)
- Relative Sort Array (Basic)
- Substrings Containing All Three Characters (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Shortest Subarray to Remove to Make Sorted (Advanced)
- Find First and Last Position (Intermediate)
- Search a 2D Matrix (Intermediate)
- Smallest Divisor Given a Threshold (Intermediate)
- Median of Two Sorted Arrays (Advanced)
- Heaters (Intermediate)
- Kth Smallest Number in Multiplication Table (Advanced)
- Letter Combinations of a Phone Number (Intermediate)
- Put Marbles in Bags (Advanced)
- Longest Repeating Character Replacement (Intermediate)
Related
- DE Shaw basic problems
- DE Shaw intermediate problems
- DE Shaw advanced problems
- DE Shaw Array problems
- DE Shaw String problems
- DE Shaw Math problems
- DE Shaw Hash Table problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the DE Shaw problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact DE Shaw interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.