Talentd
FleetCode
Make and follow sheets.Sign in

Design Problems (132)

Problems tagged with Design. Start with the easy ones, then move to medium and hard.

14 Easy88 Medium30 Hard

Learn these first

1
Queue

Queues help manage ordered events, streams, or sliding windows in design problems like hit counters or rate limiters.

2
Hash Table

Many design problems rely on O(1) key lookups. Hash tables are commonly combined with other structures to maintain fast access while tracking additional state.

3
Linked List

Used to maintain ordering in structures like LRU caches and browser history. Understanding node manipulation and pointer updates is essential for many design tasks.

4
Heap (Priority Queue)

Important for designs that require retrieving minimum or maximum elements efficiently, such as scheduling systems or frequency tracking structures.

TitleSolutionAcceptDifficultyTopics
715. Range ModuleVideo
Solution45.4%Hard
Design, Ordered Set +1· 5 companies
716. Max StackVideoPremium
Solution45.9%Hard
Design, Doubly-Linked List +3· 10 companies
729. My Calendar IVideo
Solution58.4%Medium
Array, Binary Search +3· 12 companies
731. My Calendar IIVideo
Solution63.3%Medium
Array, Binary Search +4· 3 companies
732. My Calendar IIIVideo
Solution72.4%Hard
Binary Search, Design +3· 1 company
Solution41.2%Hard
Array, Design +3· 3 companies
855. Exam RoomVideo
Solution43.6%Medium
Design, Heap (Priority Queue) +1· 6 companies
Solution67.1%Hard
Design, Hash Table +2· 12 companies
900. RLE IteratorVideo
Solution59.6%Medium
Array, Counting +2· 2 companies
Solution69.5%Medium
Data Stream, Design +2· 7 companies
911. Online ElectionVideo
Solution52.8%Medium
Array, Binary Search +2· 3 companies
Solution78.9%Easy
Data Stream, Design +1· 9 companies
Solution49.8%Medium
Binary Search, Design +2· 34 companies
Solution52.8%Hard
Array, Data Stream +3· 4 companies
1146. Snapshot ArrayVideo
Solution36.8%Medium
Array, Binary Search +2· 20 companies
1166. Design File SystemVideoPremium
Solution65.1%Medium
Design, Hash Table +2· 12 companies
Solution34.2%Hard
Design, Hash Table +2· 2 companies
1206. Design SkiplistVideo
Solution59.7%Hard
Design, Linked List· 8 companies
1244. Design A LeaderboardVideoPremium
Solution67.9%Medium
Design, Hash Table +1· 9 companies
Solution72.7%Medium
Backtracking, Design +2· 1 company
Solution46.6%Medium
Binary Search, Design +3· 4 companies
Solution62.9%Medium
Array, Data Stream +3· 11 companies
Solution66.1%Medium
Array, Design +1· 1 company
Solution79.9%Medium
Array, Design +1· 6 companies
Solution74.8%Medium
Design, Hash Table +1· 7 companies
1429. First Unique NumberVideoPremium
Solution57.8%Medium
Array, Data Stream +3· 5 companies
Solution78.3%Medium
Array, Data Stream +4· 13 companies
Solution86.3%Medium
Array, Design +1· 3 companies
Solution41.7%Medium
Data Stream, Design +3· 1 company
Solution89.9%Medium
Array, Design +2· 12 companies
Solution63.4%Medium
Solution68.2%Medium
Depth-First Search, Design +2· 2 companies
Solution87.2%Easy
Counting, Design +1· 6 companies
1622. Fancy SequenceVideo
Solution41.3%Hard
Design, Math +1· 3 companies
Solution82.6%Easy
Array, Data Stream +2· 3 companies
Solution59.1%Medium
Array, Data Stream +3· 3 companies
Solution78.0%Medium
Array, Binary Indexed Tree +4· 2 companies
Solution58.5%Medium
Design, Doubly-Linked List +2· 11 companies
Solution63.6%Medium
Design, Hash Table +2· 2 companies
Solution38.7%Hard
Data Stream, Design +3· 1 company
Solution61.6%Medium
Array, Design +1· 8 companies
Solution62.5%Hard
Array, Design +3· 2 companies
Solution46.3%Medium
Array, Breadth-First Search +4· 3 companies
2013. Detect SquaresVideo
Solution53.0%Medium
Array, Counting +2· 4 companies
Showing 51–100 of 132

More about Design

Design problems in Data Structures and Algorithms test your ability to build efficient, reusable systems using fundamental data structures. Instead of solving a single computation task, these problems require you to design a class or data structure that supports multiple operations efficiently. Examples include building an LRU cache, implementing a hit counter, designing a data stream tracker, or creating a custom iterator.

These questions are extremely common in technical interviews because they evaluate how well you combine multiple concepts. A typical Design problem might require you to integrate structures like a Hash Table for constant-time lookups, a Linked List for maintaining order, or a Heap (Priority Queue) to manage priorities efficiently. Many designs also rely on structural concepts from Tree data structures or search techniques like Binary Search.

Why Design problems matter in interviews:

  • They test your ability to combine multiple data structures.
  • They reveal whether you can optimize operations such as insert, delete, and lookup.
  • They evaluate object-oriented thinking and API design.
  • They simulate real-world engineering problems such as caching, queues, and streaming data.

Common Design interview questions include building an LRU/LFU cache, implementing a min stack, designing a browser history system, or creating a time-based key-value store. These problems often require careful trade-offs between time complexity and memory usage. Interviewers typically expect solutions with optimal complexities like O(1) or O(log n) for core operations.

The best way to master this topic is by recognizing recurring patterns. Many problems reuse similar ideas—combining hash maps with linked structures, managing state through queues or stacks, or maintaining sorted elements with heaps or trees. Once you understand these patterns, solving new Design problems becomes much faster.

FleetCode provides with detailed explanations and complexity analysis, helping you build the intuition needed to confidently handle design-style coding interview questions.

Design: common questions

What are Design problems in DSA?

Design problems require you to implement a data structure or class that supports multiple operations efficiently. Instead of solving a single algorithmic task, you build a reusable system such as an LRU cache, min stack, or time-based key-value store.

What is the best way to learn Design problems?

Start by mastering core data structures like hash tables, linked lists, heaps, and queues. Then practice classic designs such as LRU Cache and Min Stack before moving to more complex systems like streaming counters and social feed designs.

What patterns are common in Design DSA problems?

Common patterns include combining a hash map with a doubly linked list for O(1) operations, using heaps for priority-based retrieval, maintaining state with queues or stacks, and using balanced trees for ordered data access.

Is Design an important topic for FAANG interviews?

Yes. Companies like Google, Amazon, and Meta frequently ask Design-style coding questions because they simulate real engineering tasks. These questions test both algorithmic thinking and data structure integration.

What are the best Design problems for coding interviews?

Popular interview questions include LRU Cache, LFU Cache, Min Stack, Design Twitter, Design Hit Counter, and Time-Based Key-Value Store. These problems test how well you combine data structures like hash maps, linked lists, and heaps.

How many Design problems should I practice for interviews?

This is usually enough to understand common patterns like hash map + linked list combinations or priority-based structures.