grindmapcompany-wise LeetCode
All companies

DE Shaw LeetCode Questions

105 questions all-time · 11 easy · 64 medium · 30 hard
# Problem Difficulty Frequency Acceptance
1Binary Tree Cameras
Hard
100
0.5%
2Find Minimum Cost to Remove Array Elements
Medium
86
0.2%
3Maximum Number of Subsequences After One Inserting
Medium
81
0.3%
4Maximum Points After Collecting Coins From All Nodes
Hard
79
0.4%
5Minimum Size Subarray in Infinite Array
Medium
79
0.3%
6Maximum Subsequence Score
Medium
79
0.5%
7Minimum Number of Taps to Open to Water a Garden
Hard
77
0.5%
8Relative Sort Array
Easy
75
0.8%
9Number of Subarrays With AND Value of K
Hard
75
0.4%
10Max Number of K-Sum Pairs
Medium
75
0.6%
11Sum Game
Medium
75
0.5%
12Maximum Points Tourist Can Earn
Medium
75
0.5%
13Letter Combinations of a Phone Number
Medium
73
0.7%
14Maximum Strength of K Disjoint Subarrays
Hard
73
0.3%
15Removing Minimum Number of Magic Beans
Medium
73
0.4%
16Find the Sum of the Power of All Subsequences
Hard
73
0.4%
17Minimum Cost Walk in Weighted Graph
Hard
73
0.7%
18Minimum Deletions to Make String K-Special
Medium
73
0.7%
19Greatest Sum Divisible by Three
Medium
73
0.6%
20Query Kth Smallest Trimmed Number
Medium
73
0.5%
21Equal Row and Column Pairs
Medium
73
0.7%
22Number of Substrings Containing All Three Characters
Medium
73
0.7%
23Maximum Deletions on a String
Hard
73
0.4%
24Median of a Row Wise Sorted Matrix
Medium
73
0.7%
25Determine the Winner of a Bowling Game
Easy
73
0.4%
26Take Gifts From the Richest Pile
Easy
73
0.8%
27Find the Maximum Divisibility Score
Easy
73
0.5%
28Shortest String That Contains Three Strings
Medium
73
0.3%
29Find Peak Calling Hours for Each City
Medium
73
0.6%
30Minimize Connected Groups by Inserting Interval
Medium
73
0.5%
31Minimum Runes to Add to Cast Spell
Hard
73
0.4%
32Count the Number of Incremovable Subarrays II
Hard
71
0.4%
33Trapping Rain Water
Hard
62
0.7%
34House Robber
Medium
58
0.5%
35Insert Delete GetRandom O(1)
Medium
58
0.6%
36K-th Smallest in Lexicographical Order
Hard
58
0.5%
37Valid Parentheses
Easy
58
0.4%
38Majority Element
Easy
58
0.7%
39Minimum Number of Refueling Stops
Hard
58
0.4%
40Using a Robot to Print the Lexicographically Smallest String
Medium
58
0.6%
41Maximum Product Subarray
Medium
53
0.4%
42Sliding Window Maximum
Hard
53
0.5%
43Koko Eating Bananas
Medium
53
0.5%
44Kth Smallest Number in Multiplication Table
Hard
53
0.5%
45Longest String Chain
Medium
53
0.6%
46Rotting Oranges
Medium
53
0.6%
47Reorganize String
Medium
53
0.6%
48Median of Two Sorted Arrays
Hard
46
0.5%
49Longest Consecutive Sequence
Medium
46
0.5%
50Put Marbles in Bags
Hard
46
0.7%
51Average Waiting Time
Medium
46
0.7%
52Open the Lock
Medium
46
0.6%
53Minimum Number of Pushes to Type Word II
Medium
46
0.8%
54Find the Smallest Divisor Given a Threshold
Medium
46
0.7%
55Heaters
Medium
46
0.4%
56Shortest Subarray to be Removed to Make Array Sorted
Medium
46
0.5%
57Consecutive Numbers Sum
Hard
46
0.4%
58Coin Change II
Medium
46
0.6%
59K-th Symbol in Grammar
Medium
46
0.5%
60Implement Rand10() Using Rand7()
Medium
46
0.5%
61Excel Sheet Column Title
Easy
46
0.5%
62Maximize Score of Numbers in Ranges
Medium
46
0.4%
63Sum of Subarray Ranges
Medium
46
0.6%
64Asteroid Collision
Medium
46
0.5%
65Find Triangular Sum of an Array
Medium
46
0.8%
66Number of Islands
Medium
46
0.6%
67LRU Cache
Medium
46
0.5%
68Minimum Cost to Merge Stones
Hard
46
0.5%
69Furthest Building You Can Reach
Medium
46
0.5%
70Search a 2D Matrix
Medium
46
0.5%
71Unique Paths
Medium
37
0.7%
72Best Time to Buy and Sell Stock
Easy
37
0.6%
73Basic Calculator II
Medium
37
0.5%
74Maximum Performance of a Team
Hard
37
0.5%
75Peak Index in a Mountain Array
Medium
37
0.7%
76Best Time to Buy and Sell Stock II
Medium
37
0.7%
77Number of Ways to Reorder Array to Get Same BST
Hard
37
0.5%
78Minimum Number of Visited Cells in a Grid
Hard
37
0.2%
79Maximum OR
Medium
37
0.4%
80Minimum Size Subarray Sum
Medium
37
0.5%
814Sum
Medium
37
0.4%
82Maximum Points You Can Obtain from Cards
Medium
37
0.6%
83Find the Shortest Superstring
Hard
37
0.5%
84Find First and Last Position of Element in Sorted Array
Medium
37
0.5%
85Split Array Largest Sum
Hard
37
0.6%
86Flatten Nested List Iterator
Medium
37
0.7%
87Design A Leaderboard
Medium
37
0.7%
88Decode Ways
Medium
37
0.4%
89Text Justification
Hard
37
0.5%
90Number of Ways to Wear Different Hats to Each Other
Hard
37
0.5%
91Word Search II
Hard
37
0.4%
92Longest Valid Parentheses
Hard
37
0.4%
93Wildcard Matching
Hard
37
0.3%
94Longest Substring Without Repeating Characters
Medium
37
0.4%
95Minimum Cost to Make at Least One Valid Path in a Grid
Hard
37
0.7%
96Number of Ways to Select Buildings
Medium
37
0.5%
97Maximum Width Ramp
Medium
37
0.6%
98Loud and Rich
Medium
37
0.6%
99Count Binary Substrings
Easy
37
0.7%
100Two Sum
Easy
37
0.6%
101Merge Sorted Array
Easy
37
0.6%
102Remove Duplicate Letters
Medium
37
0.5%
103Next Permutation
Medium
37
0.5%
104House Robber II
Medium
37
0.5%
105Container With Most Water
Medium
37
0.6%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies