# Design DSA Problems

> 130 Design coding problems for placements and interviews, sorted easiest first, with hints and company tags. Free practice on InternHack.

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

130 design problems for coding interviews and campus placements, with hints and company tags. Below are the first 100 of 130: 13 easy, 56 medium and 31 hard. Practise them free on InternHack and track what you have solved.

## Design problems, easiest first

1. [Design an Ordered Stream](https://www.internhack.in/learn/dsa/problem/design-an-ordered-stream) (Easy)
2. [Design Compressed String Iterator](https://www.internhack.in/learn/dsa/problem/design-compressed-string-iterator) (Easy)
3. [Design HashMap](https://www.internhack.in/learn/dsa/problem/design-hashmap) (Easy)
4. [Design HashSet](https://www.internhack.in/learn/dsa/problem/design-hashset) (Easy)
5. [Design Parking System](https://www.internhack.in/learn/dsa/problem/design-parking-system) (Easy)
6. [Implement Queue using Stacks](https://www.internhack.in/learn/dsa/problem/implement-queue-using-stacks) (Easy)
7. [Implement Stack using Queues](https://www.internhack.in/learn/dsa/problem/implement-stack-using-queues) (Easy)
8. [Kth Largest Element in a Stream](https://www.internhack.in/learn/dsa/problem/kth-largest-element-in-a-stream) (Easy)
9. [Logger Rate Limiter](https://www.internhack.in/learn/dsa/problem/logger-rate-limiter) (Easy)
10. [Moving Average from Data Stream](https://www.internhack.in/learn/dsa/problem/moving-average-from-data-stream) (Easy)
11. [Number of Recent Calls](https://www.internhack.in/learn/dsa/problem/number-of-recent-calls) (Easy)
12. [Range Sum Query - Immutable](https://www.internhack.in/learn/dsa/problem/range-sum-query-immutable) (Easy)
13. [Two Sum III - Data structure design](https://www.internhack.in/learn/dsa/problem/two-sum-iii-data-structure-design) (Easy)
14. [Apply Discount Every n Orders](https://www.internhack.in/learn/dsa/problem/apply-discount-every-n-orders) (Medium)
15. [Binary Search Tree Iterator](https://www.internhack.in/learn/dsa/problem/binary-search-tree-iterator) (Medium)
16. [Binary Search Tree Iterator II](https://www.internhack.in/learn/dsa/problem/binary-search-tree-iterator-ii) (Medium)
17. [Complete Binary Tree Inserter](https://www.internhack.in/learn/dsa/problem/complete-binary-tree-inserter) (Medium)
18. [Design a 3D Binary Matrix with Efficient Layer Tracking](https://www.internhack.in/learn/dsa/problem/design-a-3d-binary-matrix-with-efficient-layer-tracking) (Medium)
19. [Design a File Sharing System](https://www.internhack.in/learn/dsa/problem/design-a-file-sharing-system) (Medium)
20. [Design a Food Rating System](https://www.internhack.in/learn/dsa/problem/design-a-food-rating-system) (Medium)
21. [Design A Leaderboard](https://www.internhack.in/learn/dsa/problem/design-a-leaderboard) (Medium)
22. [Design a Number Container System](https://www.internhack.in/learn/dsa/problem/design-a-number-container-system) (Medium)
23. [Design a Stack With Increment Operation](https://www.internhack.in/learn/dsa/problem/design-a-stack-with-increment-operation) (Medium)
24. [Design a Todo List](https://www.internhack.in/learn/dsa/problem/design-a-todo-list) (Medium)
25. [Design Add and Search Words Data Structure](https://www.internhack.in/learn/dsa/problem/design-add-and-search-words-data-structure) (Medium)
26. [Design an ATM Machine](https://www.internhack.in/learn/dsa/problem/design-an-atm-machine) (Medium)
27. [Design an Expression Tree With Evaluate Function](https://www.internhack.in/learn/dsa/problem/design-an-expression-tree-with-evaluate-function) (Medium)
28. [Design Auction System](https://www.internhack.in/learn/dsa/problem/design-auction-system) (Medium)
29. [Design Authentication Manager](https://www.internhack.in/learn/dsa/problem/design-authentication-manager) (Medium)
30. [Design Browser History](https://www.internhack.in/learn/dsa/problem/design-browser-history) (Medium)
31. [Design Circular Deque](https://www.internhack.in/learn/dsa/problem/design-circular-deque) (Medium)
32. [Design Circular Queue](https://www.internhack.in/learn/dsa/problem/design-circular-queue) (Medium)
33. [Design Exam Scores Tracker](https://www.internhack.in/learn/dsa/problem/design-exam-scores-tracker) (Medium)
34. [Design File System](https://www.internhack.in/learn/dsa/problem/design-file-system) (Medium)
35. [Design Front Middle Back Queue](https://www.internhack.in/learn/dsa/problem/design-front-middle-back-queue) (Medium)
36. [Design Hit Counter](https://www.internhack.in/learn/dsa/problem/design-hit-counter) (Medium)
37. [Design Linked List](https://www.internhack.in/learn/dsa/problem/design-linked-list) (Medium)
38. [Design Log Storage System](https://www.internhack.in/learn/dsa/problem/design-log-storage-system) (Medium)
39. [Design Memory Allocator](https://www.internhack.in/learn/dsa/problem/design-memory-allocator) (Medium)
40. [Design Most Recently Used Queue](https://www.internhack.in/learn/dsa/problem/design-most-recently-used-queue) (Medium)
41. [Design Order Management System](https://www.internhack.in/learn/dsa/problem/design-order-management-system) (Medium)
42. [Design Phone Directory](https://www.internhack.in/learn/dsa/problem/design-phone-directory) (Medium)
43. [Design Ride Sharing System](https://www.internhack.in/learn/dsa/problem/design-ride-sharing-system) (Medium)
44. [Design Snake Game](https://www.internhack.in/learn/dsa/problem/design-snake-game) (Medium)
45. [Design Spreadsheet](https://www.internhack.in/learn/dsa/problem/design-spreadsheet) (Medium)
46. [Design SQL](https://www.internhack.in/learn/dsa/problem/design-sql) (Medium)
47. [Design Task Manager](https://www.internhack.in/learn/dsa/problem/design-task-manager) (Medium)
48. [Design Tic-Tac-Toe](https://www.internhack.in/learn/dsa/problem/design-tic-tac-toe) (Medium)
49. [Design Twitter](https://www.internhack.in/learn/dsa/problem/design-twitter) (Medium)
50. [Design Underground System](https://www.internhack.in/learn/dsa/problem/design-underground-system) (Medium)
51. [Detect Squares](https://www.internhack.in/learn/dsa/problem/detect-squares) (Medium)
52. [Dot Product of Two Sparse Vectors](https://www.internhack.in/learn/dsa/problem/dot-product-of-two-sparse-vectors) (Medium)
53. [Encode and Decode Strings](https://www.internhack.in/learn/dsa/problem/encode-and-decode-strings) (Medium)
54. [Encode and Decode TinyURL](https://www.internhack.in/learn/dsa/problem/encode-and-decode-tinyurl) (Medium)
55. [Exam Room](https://www.internhack.in/learn/dsa/problem/exam-room) (Medium)
56. [Find Consecutive Integers from a Data Stream](https://www.internhack.in/learn/dsa/problem/find-consecutive-integers-from-a-data-stream) (Medium)
57. [Find Elements in a Contaminated Binary Tree](https://www.internhack.in/learn/dsa/problem/find-elements-in-a-contaminated-binary-tree) (Medium)
58. [Finding Pairs With a Certain Sum](https://www.internhack.in/learn/dsa/problem/finding-pairs-with-a-certain-sum) (Medium)
59. [First Unique Number](https://www.internhack.in/learn/dsa/problem/first-unique-number) (Medium)
60. [Flatten 2D Vector](https://www.internhack.in/learn/dsa/problem/flatten-2d-vector) (Medium)
61. [Flatten Nested List Iterator](https://www.internhack.in/learn/dsa/problem/flatten-nested-list-iterator) (Medium)
62. [Frequency Tracker](https://www.internhack.in/learn/dsa/problem/frequency-tracker) (Medium)
63. [Implement Magic Dictionary](https://www.internhack.in/learn/dsa/problem/implement-magic-dictionary) (Medium)
64. [Implement Router](https://www.internhack.in/learn/dsa/problem/implement-router) (Medium)
65. [Implement Trie (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-prefix-tree) (Medium)
66. [Implement Trie II (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-ii-prefix-tree) (Medium)
67. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
68. [Iterator for Combination](https://www.internhack.in/learn/dsa/problem/iterator-for-combination) (Medium)
69. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
70. [All O\`one Data Structure](https://www.internhack.in/learn/dsa/problem/all-oone-data-structure) (Hard)
71. [Booking Concert Tickets in Groups](https://www.internhack.in/learn/dsa/problem/booking-concert-tickets-in-groups) (Hard)
72. [Checking Existence of Edge Length Limited Paths II](https://www.internhack.in/learn/dsa/problem/checking-existence-of-edge-length-limited-paths-ii) (Hard)
73. [Count Integers in Intervals](https://www.internhack.in/learn/dsa/problem/count-integers-in-intervals) (Hard)
74. [Data Stream as Disjoint Intervals](https://www.internhack.in/learn/dsa/problem/data-stream-as-disjoint-intervals) (Hard)
75. [Design a Text Editor](https://www.internhack.in/learn/dsa/problem/design-a-text-editor) (Hard)
76. [Design an Array Statistics Tracker](https://www.internhack.in/learn/dsa/problem/design-an-array-statistics-tracker) (Hard)
77. [Design Excel Sum Formula](https://www.internhack.in/learn/dsa/problem/design-excel-sum-formula) (Hard)
78. [Design Graph With Shortest Path Calculator](https://www.internhack.in/learn/dsa/problem/design-graph-with-shortest-path-calculator) (Hard)
79. [Design In-Memory File System](https://www.internhack.in/learn/dsa/problem/design-in-memory-file-system) (Hard)
80. [Design Movie Rental System](https://www.internhack.in/learn/dsa/problem/design-movie-rental-system) (Hard)
81. [Design Search Autocomplete System](https://www.internhack.in/learn/dsa/problem/design-search-autocomplete-system) (Hard)
82. [Design Skiplist](https://www.internhack.in/learn/dsa/problem/design-skiplist) (Hard)
83. [Design Video Sharing Platform](https://www.internhack.in/learn/dsa/problem/design-video-sharing-platform) (Hard)
84. [Dinner Plate Stacks](https://www.internhack.in/learn/dsa/problem/dinner-plate-stacks) (Hard)
85. [Encrypt and Decrypt Strings](https://www.internhack.in/learn/dsa/problem/encrypt-and-decrypt-strings) (Hard)
86. [Fancy Sequence](https://www.internhack.in/learn/dsa/problem/fancy-sequence) (Hard)
87. [Find Median from Data Stream](https://www.internhack.in/learn/dsa/problem/find-median-from-data-stream) (Hard)
88. [Finding MK Average](https://www.internhack.in/learn/dsa/problem/finding-mk-average) (Hard)
89. [Insert Delete GetRandom O(1) - Duplicates allowed](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1-duplicates-allowed) (Hard)
90. [Kth Ancestor of a Tree Node](https://www.internhack.in/learn/dsa/problem/kth-ancestor-of-a-tree-node) (Hard)
91. [LFU Cache](https://www.internhack.in/learn/dsa/problem/lfu-cache) (Hard)
92. [Max Stack](https://www.internhack.in/learn/dsa/problem/max-stack) (Hard)
93. [Maximum Frequency Stack](https://www.internhack.in/learn/dsa/problem/maximum-frequency-stack) (Hard)
94. [My Calendar III](https://www.internhack.in/learn/dsa/problem/my-calendar-iii) (Hard)
95. [Online Majority Element In Subarray](https://www.internhack.in/learn/dsa/problem/online-majority-element-in-subarray) (Hard)
96. [Prefix and Suffix Search](https://www.internhack.in/learn/dsa/problem/prefix-and-suffix-search) (Hard)
97. [Range Module](https://www.internhack.in/learn/dsa/problem/range-module) (Hard)
98. [Sequentially Ordinal Rank Tracker](https://www.internhack.in/learn/dsa/problem/sequentially-ordinal-rank-tracker) (Hard)
99. [Serialize and Deserialize Binary Tree](https://www.internhack.in/learn/dsa/problem/serialize-and-deserialize-binary-tree) (Hard)
100. [Stream of Characters](https://www.internhack.in/learn/dsa/problem/stream-of-characters) (Hard)

## Companies that ask design problems

- [Google](https://www.internhack.in/learn/dsa/companies/google): 78 of these problems
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 68 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 51 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 50 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 36 of these problems
- [Apple](https://www.internhack.in/learn/dsa/companies/apple): 28 of these problems
- [Uber](https://www.internhack.in/learn/dsa/companies/uber): 26 of these problems
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok): 18 of these problems
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle): 16 of these problems
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin): 15 of these problems
- [Citadel](https://www.internhack.in/learn/dsa/companies/citadel): 13 of these problems
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs): 12 of these problems

## Before your interview

Most resumes are filtered by software before a recruiter reads them. [Check your resume ATS score free](https://www.internhack.in/ats-score/try), no signup needed.

## Other DSA topics

- [Array](https://www.internhack.in/learn/dsa/array) (1869)
- [String](https://www.internhack.in/learn/dsa/string) (775)
- [Hash Table](https://www.internhack.in/learn/dsa/hash-table) (708)
- [Math](https://www.internhack.in/learn/dsa/math) (564)
- [Dynamic Programming](https://www.internhack.in/learn/dsa/dynamic-programming) (557)
- [Sorting](https://www.internhack.in/learn/dsa/sorting) (464)
- [Greedy](https://www.internhack.in/learn/dsa/greedy) (407)
- [Depth-First Search](https://www.internhack.in/learn/dsa/depth-first-search) (314)
- [Binary Search](https://www.internhack.in/learn/dsa/binary-search) (298)
- [Matrix](https://www.internhack.in/learn/dsa/matrix) (246)
- [Breadth-First Search](https://www.internhack.in/learn/dsa/breadth-first-search) (245)
- [Bit Manipulation](https://www.internhack.in/learn/dsa/bit-manipulation) (238)
- [Tree](https://www.internhack.in/learn/dsa/tree) (235)
- [Two Pointers](https://www.internhack.in/learn/dsa/two-pointers) (217)
- [Prefix Sum](https://www.internhack.in/learn/dsa/prefix-sum) (204)
- [Database](https://www.internhack.in/learn/dsa/database) (197)
- [Heap (Priority Queue)](https://www.internhack.in/learn/dsa/heap-priority-queue) (196)
- [Simulation](https://www.internhack.in/learn/dsa/simulation) (177)
- [Counting](https://www.internhack.in/learn/dsa/counting) (174)
- [Binary Tree](https://www.internhack.in/learn/dsa/binary-tree) (169)

## Related

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