← back

Design

97 questions · 0 seen

All Design problems

Problems

⊣ 146 LRU Cache
⊣ 155 Min Stack
⊣ 173 Binary Search Tree Iterator
⊣ 208 Implement Trie (Prefix Tree)
⊣ 211 Design Add and Search Words Data Structure
⊣ 225 Implement Stack using Queues
⊣ 232 Implement Queue using Stacks
⊣ 284 Peeking Iterator
⊣ 295 Find Median from Data Stream
⊣ 297 Serialize and Deserialize Binary Tree
⊣ 303 Range Sum Query - Immutable
⊣ 304 Range Sum Query 2D - Immutable
⊣ 307 Range Sum Query - Mutable
⊣ 341 Flatten Nested List Iterator
⊣ 352 Data Stream as Disjoint Intervals
⊣ 355 Design Twitter
⊣ 380 Insert Delete GetRandom O(1)
⊣ 381 Insert Delete GetRandom O(1) - Duplicates allowed
⊣ 384 Shuffle an Array
⊣ 432 All O`one Data Structure
⊣ 449 Serialize and Deserialize BST
⊣ 460 LFU Cache
⊣ 535 Encode and Decode TinyURL
⊣ 622 Design Circular Queue
⊣ 641 Design Circular Deque
⊣ 676 Implement Magic Dictionary
⊣ 677 Map Sum Pairs
⊣ 703 Kth Largest Element in a Stream
⊣ 705 Design HashSet
⊣ 706 Design HashMap
⊣ 707 Design Linked List
⊣ 715 Range Module
⊣ 729 My Calendar I
⊣ 731 My Calendar II
⊣ 732 My Calendar III
⊣ 745 Prefix and Suffix Search
⊣ 855 Exam Room
⊣ 895 Maximum Frequency Stack
⊣ 900 RLE Iterator
⊣ 901 Online Stock Span
⊣ 911 Online Election
⊣ 919 Complete Binary Tree Inserter
⊣ 933 Number of Recent Calls
⊣ 981 Time Based Key-Value Store
⊣ 1032 Stream of Characters
⊣ 1146 Snapshot Array
⊣ 1157 Online Majority Element In Subarray
⊣ 1172 Dinner Plate Stacks
⊣ 1206 Design Skiplist
⊣ 1261 Find Elements in a Contaminated Binary Tree
⊣ 1286 Iterator for Combination
⊣ 1348 Tweet Counts Per Frequency
⊣ 1352 Product of the Last K Numbers
⊣ 1357 Apply Discount Every n Orders
⊣ 1381 Design a Stack With Increment Operation
⊣ 1396 Design Underground System
⊣ 1472 Design Browser History
⊣ 1476 Subrectangle Queries
⊣ 1483 Kth Ancestor of a Tree Node
⊣ 1600 Throne Inheritance
⊣ 1603 Design Parking System
⊣ 1622 Fancy Sequence
⊣ 1656 Design an Ordered Stream
⊣ 1670 Design Front Middle Back Queue
⊣ 1797 Design Authentication Manager
⊣ 1825 Finding MK Average
⊣ 1845 Seat Reservation Manager
⊣ 1865 Finding Pairs With a Certain Sum
⊣ 1912 Design Movie Rental System
⊣ 1993 Operations on Tree
⊣ 2013 Detect Squares
⊣ 2034 Stock Price Fluctuation
⊣ 2043 Simple Bank System
⊣ 2069 Walking Robot Simulation II
⊣ 2080 Range Frequency Queries
⊣ 2102 Sequentially Ordinal Rank Tracker
⊣ 2166 Design Bitset
⊣ 2227 Encrypt and Decrypt Strings
⊣ 2241 Design an ATM Machine
⊣ 2276 Count Integers in Intervals
⊣ 2286 Booking Concert Tickets in Groups
⊣ 2296 Design a Text Editor
⊣ 2336 Smallest Number in Infinite Set
⊣ 2349 Design a Number Container System
⊣ 2353 Design a Food Rating System
⊣ 2424 Longest Uploaded Prefix
⊣ 2502 Design Memory Allocator
⊣ 2526 Find Consecutive Integers from a Data Stream
⊣ 2642 Design Graph With Shortest Path Calculator
⊣ 2671 Frequency Tracker
⊣ 3242 Design Neighbor Sum Service
⊣ 3408 Design Task Manager
⊣ 3484 Design Spreadsheet
⊣ 3508 Implement Router
⊣ 3709 Design Exam Scores Tracker
⊣ 3815 Design Auction System
⊣ 3829 Design Ride Sharing System