D

DoorDash

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

Showing 88 of 88 questions

1
MediumWalls and Gates
100
ArrayBreadth-First SearchMatrix
LeetCode ↗63% acc.
2
HardBinary Tree Maximum Path Sum✓ Our Solution
95
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗41% acc.
3
HardLongest Increasing Path in a Matrix✓ Our Solution
92
ArrayDynamic ProgrammingDepth-First SearchBreadth-First Search+4
LeetCode ↗55% acc.
4
HardMaximum Profit in Job Scheduling✓ Our Solution
87
ArrayBinary SearchDynamic ProgrammingSorting
LeetCode ↗54% acc.
5
MediumSearch Suggestions System✓ Our Solution
82
ArrayStringBinary SearchTrie+2
LeetCode ↗65% acc.
6
MediumKoko Eating Bananas✓ Our Solution
80
ArrayBinary Search
LeetCode ↗49% acc.
7
MediumDesign File System
75
Hash TableStringDesignTrie
LeetCode ↗64% acc.
8
MediumMost Profit Assigning Work✓ Our Solution
75
ArrayTwo PointersBinary SearchGreedy+1
LeetCode ↗56% acc.
9
EasyCheck if One String Swap Can Make Strings Equal✓ Our Solution
74
Hash TableStringCounting
LeetCode ↗49% acc.
10
HardShortest Distance from All Buildings
73
ArrayBreadth-First SearchMatrix
LeetCode ↗44% acc.
11
MediumSingle-Threaded CPU✓ Our Solution
71
ArraySortingHeap (Priority Queue)
LeetCode ↗46% acc.
12
MediumMinimum Number of Steps to Make Two Strings Anagram✓ Our Solution
71
Hash TableStringCounting
LeetCode ↗82% acc.
13
MediumFind K Closest Elements✓ Our Solution
69
ArrayTwo PointersBinary SearchSliding Window+2
LeetCode ↗49% acc.
14
MediumNext Greater Element III✓ Our Solution
67
MathTwo PointersString
LeetCode ↗35% acc.
15
EasyBuddy Strings✓ Our Solution
67
Hash TableString
LeetCode ↗34% acc.
16
HardDesign In-Memory File System
65
Hash TableStringDesignTrie+1
LeetCode ↗48% acc.
17
EasyFind Nearest Point That Has the Same X or Y Coordinate✓ Our Solution
64
Array
LeetCode ↗69% acc.
18
HardBasic Calculator III
64
MathStringStackRecursion
LeetCode ↗52% acc.
19
HardMaking A Large Island✓ Our Solution
64
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗55% acc.
20
MediumCount Sub Islands✓ Our Solution
63
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗73% acc.
21
MediumAsteroid Collision✓ Our Solution
62
ArrayStackSimulation
LeetCode ↗46% acc.
22
MediumCount Nodes With the Highest Score✓ Our Solution
62
ArrayTreeDepth-First SearchBinary Tree
LeetCode ↗51% acc.
23
HardSerialize and Deserialize Binary Tree✓ Our Solution
60
StringTreeDepth-First SearchBreadth-First Search+2
LeetCode ↗59% acc.
24
MediumBasic Calculator II✓ Our Solution
57
MathStringStack
LeetCode ↗46% acc.
25
HardCount All Valid Pickup and Delivery Options✓ Our Solution
57
MathDynamic ProgrammingCombinatorics
LeetCode ↗65% acc.
26
HardBest Meeting Point
55
ArrayMathSortingMatrix
LeetCode ↗61% acc.
27
MediumCourse Schedule II✓ Our Solution
55
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗53% acc.
28
HardVertical Order Traversal of a Binary Tree✓ Our Solution
55
Hash TableTreeDepth-First SearchBreadth-First Search+2
LeetCode ↗51% acc.
29
MediumImmediate Food Delivery II✓ Our Solution
54
Database
LeetCode ↗54% acc.
30
EasyImmediate Food Delivery I
54
Database
LeetCode ↗81% acc.
31
MediumImplement Trie (Prefix Tree)✓ Our Solution
54
Hash TableStringDesignTrie
LeetCode ↗68% acc.
32
EasyTwo Sum✓ Our Solution
54
ArrayHash Table
LeetCode ↗56% acc.
33
MediumInterval List Intersections✓ Our Solution
52
ArrayTwo PointersLine Sweep
LeetCode ↗73% acc.
34
MediumMice and Cheese✓ Our Solution
52
ArrayGreedySortingHeap (Priority Queue)
LeetCode ↗47% acc.
35
HardSubsequence With the Minimum Score✓ Our Solution
52
Two PointersStringBinary Search
LeetCode ↗33% acc.
36
MediumJump Game✓ Our Solution
52
ArrayDynamic ProgrammingGreedy
LeetCode ↗39% acc.
37
HardBasic Calculator✓ Our Solution
50
MathStringStackRecursion
LeetCode ↗46% acc.
38
MediumTask Scheduler✓ Our Solution
50
ArrayHash TableGreedySorting+2
LeetCode ↗62% acc.
39
HardLargest Rectangle in Histogram✓ Our Solution
50
ArrayStackMonotonic Stack
LeetCode ↗47% acc.
40
Medium01 Matrix✓ Our Solution
48
ArrayDynamic ProgrammingBreadth-First SearchMatrix
LeetCode ↗51% acc.
41
MediumMax Area of Island✓ Our Solution
46
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗73% acc.
42
MediumNext Permutation✓ Our Solution
46
ArrayTwo Pointers
LeetCode ↗43% acc.
43
HardWord Search II✓ Our Solution
46
ArrayStringBacktrackingTrie+1
LeetCode ↗37% acc.
44
MediumLongest Common Subsequence✓ Our Solution
43
StringDynamic Programming
LeetCode ↗58% acc.
45
HardSwim in Rising Water✓ Our Solution
43
ArrayBinary SearchDepth-First SearchBreadth-First Search+3
LeetCode ↗63% acc.
46
MediumMinimum Size Subarray Sum✓ Our Solution
43
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗49% acc.
47
HardNumber of Visible People in a Queue✓ Our Solution
43
ArrayStackMonotonic Stack
LeetCode ↗71% acc.
48
MediumDesign Add and Search Words Data Structure✓ Our Solution
40
StringDepth-First SearchDesignTrie
LeetCode ↗47% acc.
49
HardSudoku Solver✓ Our Solution
40
ArrayHash TableBacktrackingMatrix
LeetCode ↗64% acc.
50
MediumJump Game II✓ Our Solution
40
ArrayDynamic ProgrammingGreedy
LeetCode ↗42% acc.
51
MediumWays to Make a Fair Array✓ Our Solution
36
ArrayPrefix Sum
LeetCode ↗64% acc.
52
HardMinimize Malware Spread✓ Our Solution
36
ArrayHash TableDepth-First SearchBreadth-First Search+2
LeetCode ↗42% acc.
53
MediumBinary Tree Vertical Order Traversal
36
Hash TableTreeDepth-First SearchBreadth-First Search+2
LeetCode ↗57% acc.
54
MediumMaximum Gap✓ Our Solution
36
ArraySortingBucket SortRadix Sort
LeetCode ↗49% acc.
55
MediumLRU Cache✓ Our Solution
36
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
56
MediumNumber of Islands✓ Our Solution
36
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
57
HardSliding Window Median✓ Our Solution
36
ArrayHash TableSliding WindowHeap (Priority Queue)
LeetCode ↗39% acc.
58
HardSliding Window Maximum✓ Our Solution
36
ArrayQueueSliding WindowHeap (Priority Queue)+1
LeetCode ↗48% acc.
59
MediumShortest Path to Get Food
36
ArrayBreadth-First SearchMatrix
LeetCode ↗57% acc.
60
31
ArrayTwo PointersSorting
LeetCode ↗38% acc.
61
MediumCourse Schedule✓ Our Solution
31
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
62
MediumAnalyze User Website Visit Pattern
31
ArrayHash TableSorting
LeetCode ↗44% acc.
63
HardLFU Cache✓ Our Solution
31
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗47% acc.
64
MediumCapacity To Ship Packages Within D Days✓ Our Solution
31
ArrayBinary Search
LeetCode ↗72% acc.
65
HardMaximum Path Quality of a Graph✓ Our Solution
31
ArrayBacktrackingGraph
LeetCode ↗60% acc.
66
MediumFind the Celebrity
31
Two PointersGraphInteractive
LeetCode ↗48% acc.
67
MediumNumber of Provinces✓ Our Solution
31
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗69% acc.
68
MediumPath Sum II✓ Our Solution
24
BacktrackingTreeDepth-First SearchBinary Tree
LeetCode ↗60% acc.
69
HardMaximum Performance of a Team✓ Our Solution
24
ArrayGreedySortingHeap (Priority Queue)
LeetCode ↗48% acc.
70
HardDesign Search Autocomplete System
24
StringDepth-First SearchDesignTrie+3
LeetCode ↗49% acc.
71
MediumLongest Palindromic Substring✓ Our Solution
24
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
72
HardSimilar String Groups✓ Our Solution
24
ArrayHash TableStringDepth-First Search+2
LeetCode ↗55% acc.
73
HardMerge k Sorted Lists✓ Our Solution
24
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
74
MediumInsert Delete GetRandom O(1)✓ Our Solution
24
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
75
MediumRange Sum Query 2D - Immutable✓ Our Solution
24
ArrayDesignMatrixPrefix Sum
LeetCode ↗57% acc.
76
MediumDiameter of N-Ary Tree
24
TreeDepth-First Search
LeetCode ↗75% acc.
77
HardEmployee Free Time
24
ArrayLine SweepSortingHeap (Priority Queue)
LeetCode ↗73% acc.
78
EasyCounting Words With a Given Prefix✓ Our Solution
24
ArrayStringString Matching
LeetCode ↗85% acc.
79
MediumBrace Expansion
24
StringBacktrackingBreadth-First Search
LeetCode ↗67% acc.
80
MediumDesign Browser History✓ Our Solution
24
ArrayLinked ListStackDesign+2
LeetCode ↗78% acc.
81
MediumPath With Maximum Minimum Value
24
ArrayBinary SearchDepth-First SearchBreadth-First Search+3
LeetCode ↗54% acc.
82
MediumNumber of Closed Islands✓ Our Solution
24
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗67% acc.
83
MediumValid Sudoku✓ Our Solution
24
ArrayHash TableMatrix
LeetCode ↗62% acc.
84
MediumTop K Frequent Elements✓ Our Solution
24
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
85
MediumTask Scheduler II✓ Our Solution
24
ArrayHash TableSimulation
LeetCode ↗54% acc.
86
MediumGroup Anagrams✓ Our Solution
24
ArrayHash TableStringSorting
LeetCode ↗71% acc.
87
MediumImplement Trie II (Prefix Tree)
24
Hash TableStringDesignTrie
LeetCode ↗63% acc.
88
HardK-Similar Strings✓ Our Solution
24
StringBreadth-First Search
LeetCode ↗40% acc.