DE Shaw

124 LeetCode interview questions

Difficulty Distribution

Easy
12
10%
Medium
74
60%
Hard
38
31%

Top Topics

All Questions

TitleDifficulty
Binary Tree CamerasHard
Find Minimum Cost to Remove Array ElementsMedium
Letter Combinations of a Phone NumberMedium
Maximum Points After Collecting Coins From All NodesHard
Relative Sort ArrayEasy
Maximum Strength of K Disjoint SubarraysHard
Removing Minimum Number of Magic BeansMedium
Find the Sum of the Power of All SubsequencesHard
Minimum Cost Walk in Weighted GraphHard
Minimum Deletions to Make String K-SpecialMedium
Greatest Sum Divisible by ThreeMedium
Query Kth Smallest Trimmed NumberMedium
Equal Row and Column PairsMedium
Number of Subarrays With AND Value of KHard
Minimum Number of Taps to Open to Water a GardenHard
Number of Substrings Containing All Three CharactersMedium
Minimum Size Subarray in Infinite ArrayMedium
Maximum Deletions on a StringHard
Median of a Row Wise Sorted MatrixMedium
Maximum Subsequence ScoreMedium
Determine the Winner of a Bowling GameEasy
Take Gifts From the Richest PileEasy
Find the Maximum Divisibility ScoreEasy
Max Number of K-Sum PairsMedium
Shortest String That Contains Three StringsMedium
Sum GameMedium
Count the Number of Incremovable Subarrays IIHard
Find Peak Calling Hours for Each CityMedium
Minimize Connected Groups by Inserting IntervalMedium
Maximum Points Tourist Can EarnMedium
Minimum Runes to Add to Cast SpellHard
Maximum Number of Subsequences After One InsertingMedium
Trapping Rain WaterHard
Sliding Window MaximumHard
K-th Smallest in Lexicographical OrderHard
Painting the WallsHard
Valid ParenthesesEasy
Majority ElementEasy
Minimum Number of Refueling StopsHard
Using a Robot to Print the Lexicographically Smallest StringMedium
Best Time to Buy and Sell StockEasy
Longest Consecutive SequenceMedium
Maximum Product SubarrayMedium
House RobberMedium
Basic Calculator IIMedium
Insert Delete GetRandom O(1)Medium
Maximum Performance of a TeamHard
Put Marbles in BagsHard
Furthest Building You Can ReachMedium
Average Waiting TimeMedium
Swim in Rising WaterHard
Open the LockMedium
Best Time to Buy and Sell Stock IIMedium
Minimum Number of Pushes to Type Word IIMedium
Koko Eating BananasMedium
4SumMedium
Find the Smallest Divisor Given a ThresholdMedium
HeatersMedium
Shortest Subarray to be Removed to Make Array SortedMedium
Kth Smallest Number in Multiplication TableHard
Split Array Largest SumHard
Consecutive Numbers SumHard
Coin Change IIMedium
Implement Rand10() Using Rand7()Medium
Excel Sheet Column TitleEasy
Longest String ChainMedium
Maximize Score of Numbers in RangesMedium
Sum of Subarray RangesMedium
Find Triangular Sum of an ArrayMedium
Rotting OrangesMedium
Minimum Cost to Merge StonesHard
Median of Two Sorted ArraysHard
Generate ParenthesesMedium
Maximum SubarrayMedium
Unique PathsMedium
Largest Rectangle in HistogramHard
Maximal RectangleHard
Maximal SquareMedium
Max Sum of Rectangle No Larger Than KHard
Task SchedulerMedium
Peak Index in a Mountain ArrayMedium
Cheapest Flights Within K StopsMedium
Combination SumMedium
Number of Ways to Reorder Array to Get Same BSTHard
Minimum Number of Visited Cells in a GridHard
Maximum ORMedium
Minimum Size Subarray SumMedium
Maximum Points You Can Obtain from CardsMedium
Find the Shortest SuperstringHard
Find First and Last Position of Element in Sorted ArrayMedium
Linked List CycleEasy
Remove Max Number of Edges to Keep Graph Fully TraversableHard
K-th Symbol in GrammarMedium
Flatten Nested List IteratorMedium
Knight DialerMedium
Maximum Number of Points with CostMedium
Find the Duplicate NumberMedium
Asteroid CollisionMedium
Design A LeaderboardMedium
Decode WaysMedium
Text JustificationHard
Number of Ways to Wear Different Hats to Each OtherHard
Validate Binary Search TreeMedium
CandyHard
Number of IslandsMedium
Word Search IIHard
Longest Valid ParenthesesHard
Best Time to Buy and Sell Stock IVHard
LRU CacheMedium
Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMedium
Wildcard MatchingHard
Longest Substring Without Repeating CharactersMedium
Copy List with Random PointerMedium
Reorganize StringMedium
Minimum Cost to Make at Least One Valid Path in a GridHard
Number of Ways to Select BuildingsMedium
Maximum Width RampMedium
Loud and RichMedium
Count Binary SubstringsEasy
Two SumEasy
Merge Sorted ArrayEasy
Remove Duplicate LettersMedium
Next PermutationMedium
House Robber IIMedium

Showing 124 of 124 questions