# Doordash Coding Interview Questions

> 87 DSA problems asked in Doordash coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/doordash
Last updated: 2026-11-28

87 DSA problems tagged as asked in Doordash coding interviews and online assessments. Below are all 87: 6 easy, 51 medium and 30 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Doordash DSA problems, easiest first

1. [Buddy Strings](https://www.internhack.in/learn/dsa/problem/buddy-strings) (Easy)
2. [Check if One String Swap Can Make Strings Equal](https://www.internhack.in/learn/dsa/problem/check-if-one-string-swap-can-make-strings-equal) (Easy)
3. [Find Nearest Point That Has the Same X or Y Coordinate](https://www.internhack.in/learn/dsa/problem/find-nearest-point-that-has-the-same-x-or-y-coordinate) (Easy)
4. [Immediate Food Delivery I](https://www.internhack.in/learn/dsa/problem/immediate-food-delivery-i) (Easy)
5. [Roman to Integer](https://www.internhack.in/learn/dsa/problem/roman-to-integer) (Easy)
6. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
7. [01 Matrix](https://www.internhack.in/learn/dsa/problem/01-matrix) (Medium)
8. [132 Pattern](https://www.internhack.in/learn/dsa/problem/132-pattern) (Medium)
9. [4Sum](https://www.internhack.in/learn/dsa/problem/4sum) (Medium)
10. [Add Two Numbers](https://www.internhack.in/learn/dsa/problem/add-two-numbers) (Medium)
11. [Analyze User Website Visit Pattern](https://www.internhack.in/learn/dsa/problem/analyze-user-website-visit-pattern) (Medium)
12. [Asteroid Collision](https://www.internhack.in/learn/dsa/problem/asteroid-collision) (Medium)
13. [Basic Calculator II](https://www.internhack.in/learn/dsa/problem/basic-calculator-ii) (Medium)
14. [Binary Tree Vertical Order Traversal](https://www.internhack.in/learn/dsa/problem/binary-tree-vertical-order-traversal) (Medium)
15. [Brace Expansion](https://www.internhack.in/learn/dsa/problem/brace-expansion) (Medium)
16. [Count Nodes With the Highest Score](https://www.internhack.in/learn/dsa/problem/count-nodes-with-the-highest-score) (Medium)
17. [Count Sub Islands](https://www.internhack.in/learn/dsa/problem/count-sub-islands) (Medium)
18. [Course Schedule](https://www.internhack.in/learn/dsa/problem/course-schedule) (Medium)
19. [Course Schedule II](https://www.internhack.in/learn/dsa/problem/course-schedule-ii) (Medium)
20. [Design Add and Search Words Data Structure](https://www.internhack.in/learn/dsa/problem/design-add-and-search-words-data-structure) (Medium)
21. [Design Browser History](https://www.internhack.in/learn/dsa/problem/design-browser-history) (Medium)
22. [Design File System](https://www.internhack.in/learn/dsa/problem/design-file-system) (Medium)
23. [Diameter of N-Ary Tree](https://www.internhack.in/learn/dsa/problem/diameter-of-n-ary-tree) (Medium)
24. [Find K Closest Elements](https://www.internhack.in/learn/dsa/problem/find-k-closest-elements) (Medium)
25. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
26. [Immediate Food Delivery II](https://www.internhack.in/learn/dsa/problem/immediate-food-delivery-ii) (Medium)
27. [Implement Trie (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-prefix-tree) (Medium)
28. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
29. [Integer to Roman](https://www.internhack.in/learn/dsa/problem/integer-to-roman) (Medium)
30. [Interval List Intersections](https://www.internhack.in/learn/dsa/problem/interval-list-intersections) (Medium)
31. [Jump Game](https://www.internhack.in/learn/dsa/problem/jump-game) (Medium)
32. [Jump Game II](https://www.internhack.in/learn/dsa/problem/jump-game-ii) (Medium)
33. [Koko Eating Bananas](https://www.internhack.in/learn/dsa/problem/koko-eating-bananas) (Medium)
34. [Longest Common Subsequence](https://www.internhack.in/learn/dsa/problem/longest-common-subsequence) (Medium)
35. [Longest Palindromic Substring](https://www.internhack.in/learn/dsa/problem/longest-palindromic-substring) (Medium)
36. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
37. [Max Area of Island](https://www.internhack.in/learn/dsa/problem/max-area-of-island) (Medium)
38. [Maximum Gap](https://www.internhack.in/learn/dsa/problem/maximum-gap) (Medium)
39. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
40. [Mice and Cheese](https://www.internhack.in/learn/dsa/problem/mice-and-cheese) (Medium)
41. [Minimum Number of Steps to Make Two Strings Anagram](https://www.internhack.in/learn/dsa/problem/minimum-number-of-steps-to-make-two-strings-anagram) (Medium)
42. [Minimum Size Subarray Sum](https://www.internhack.in/learn/dsa/problem/minimum-size-subarray-sum) (Medium)
43. [Most Profit Assigning Work](https://www.internhack.in/learn/dsa/problem/most-profit-assigning-work) (Medium)
44. [Next Greater Element III](https://www.internhack.in/learn/dsa/problem/next-greater-element-iii) (Medium)
45. [Next Permutation](https://www.internhack.in/learn/dsa/problem/next-permutation) (Medium)
46. [Number of Closed Islands](https://www.internhack.in/learn/dsa/problem/number-of-closed-islands) (Medium)
47. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
48. [Range Sum Query 2D - Immutable](https://www.internhack.in/learn/dsa/problem/range-sum-query-2d-immutable) (Medium)
49. [Rotting Oranges](https://www.internhack.in/learn/dsa/problem/rotting-oranges) (Medium)
50. [Search Suggestions System](https://www.internhack.in/learn/dsa/problem/search-suggestions-system) (Medium)
51. [Shortest Path to Get Food](https://www.internhack.in/learn/dsa/problem/shortest-path-to-get-food) (Medium)
52. [Single-Threaded CPU](https://www.internhack.in/learn/dsa/problem/single-threaded-cpu) (Medium)
53. [Task Scheduler](https://www.internhack.in/learn/dsa/problem/task-scheduler) (Medium)
54. [Task Scheduler II](https://www.internhack.in/learn/dsa/problem/task-scheduler-ii) (Medium)
55. [Top K Frequent Elements](https://www.internhack.in/learn/dsa/problem/top-k-frequent-elements) (Medium)
56. [Walls and Gates](https://www.internhack.in/learn/dsa/problem/walls-and-gates) (Medium)
57. [Ways to Make a Fair Array](https://www.internhack.in/learn/dsa/problem/ways-to-make-a-fair-array) (Medium)
58. [Basic Calculator](https://www.internhack.in/learn/dsa/problem/basic-calculator) (Hard)
59. [Basic Calculator III](https://www.internhack.in/learn/dsa/problem/basic-calculator-iii) (Hard)
60. [Best Meeting Point](https://www.internhack.in/learn/dsa/problem/best-meeting-point) (Hard)
61. [Binary Tree Maximum Path Sum](https://www.internhack.in/learn/dsa/problem/binary-tree-maximum-path-sum) (Hard)
62. [Count All Valid Pickup and Delivery Options](https://www.internhack.in/learn/dsa/problem/count-all-valid-pickup-and-delivery-options) (Hard)
63. [Design In-Memory File System](https://www.internhack.in/learn/dsa/problem/design-in-memory-file-system) (Hard)
64. [Design Search Autocomplete System](https://www.internhack.in/learn/dsa/problem/design-search-autocomplete-system) (Hard)
65. [Employee Free Time](https://www.internhack.in/learn/dsa/problem/employee-free-time) (Hard)
66. [Find Edges in Shortest Paths](https://www.internhack.in/learn/dsa/problem/find-edges-in-shortest-paths) (Hard)
67. [K-Similar Strings](https://www.internhack.in/learn/dsa/problem/k-similar-strings) (Hard)
68. [Largest Rectangle in Histogram](https://www.internhack.in/learn/dsa/problem/largest-rectangle-in-histogram) (Hard)
69. [LFU Cache](https://www.internhack.in/learn/dsa/problem/lfu-cache) (Hard)
70. [Longest Increasing Path in a Matrix](https://www.internhack.in/learn/dsa/problem/longest-increasing-path-in-a-matrix) (Hard)
71. [Making A Large Island](https://www.internhack.in/learn/dsa/problem/making-a-large-island) (Hard)
72. [Maximum Path Quality of a Graph](https://www.internhack.in/learn/dsa/problem/maximum-path-quality-of-a-graph) (Hard)
73. [Maximum Performance of a Team](https://www.internhack.in/learn/dsa/problem/maximum-performance-of-a-team) (Hard)
74. [Maximum Profit in Job Scheduling](https://www.internhack.in/learn/dsa/problem/maximum-profit-in-job-scheduling) (Hard)
75. [Merge k Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-k-sorted-lists) (Hard)
76. [Minimize Malware Spread](https://www.internhack.in/learn/dsa/problem/minimize-malware-spread) (Hard)
77. [Number of Visible People in a Queue](https://www.internhack.in/learn/dsa/problem/number-of-visible-people-in-a-queue) (Hard)
78. [Serialize and Deserialize Binary Tree](https://www.internhack.in/learn/dsa/problem/serialize-and-deserialize-binary-tree) (Hard)
79. [Shortest Distance from All Buildings](https://www.internhack.in/learn/dsa/problem/shortest-distance-from-all-buildings) (Hard)
80. [Similar String Groups](https://www.internhack.in/learn/dsa/problem/similar-string-groups) (Hard)
81. [Sliding Window Maximum](https://www.internhack.in/learn/dsa/problem/sliding-window-maximum) (Hard)
82. [Sliding Window Median](https://www.internhack.in/learn/dsa/problem/sliding-window-median) (Hard)
83. [Subsequence With the Minimum Score](https://www.internhack.in/learn/dsa/problem/subsequence-with-the-minimum-score) (Hard)
84. [Sudoku Solver](https://www.internhack.in/learn/dsa/problem/sudoku-solver) (Hard)
85. [Swim in Rising Water](https://www.internhack.in/learn/dsa/problem/swim-in-rising-water) (Hard)
86. [Vertical Order Traversal of a Binary Tree](https://www.internhack.in/learn/dsa/problem/vertical-order-traversal-of-a-binary-tree) (Hard)
87. [Word Search II](https://www.internhack.in/learn/dsa/problem/word-search-ii) (Hard)

## Prepare for the rest of the Doordash process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
