Design Interview Questions

Data structure design and API-oriented problems.

165 problems

#Title
146LRU Cache
173Binary Search Tree Iterator
225Implement Stack using Queues
284Peeking Iterator
348Design Tic-Tac-Toe
353Design Snake Game
355Design Twitter
359Logger Rate Limiter
362Design Hit Counter
379Design Phone Directory
380Insert Delete GetRandom O(1)
381Insert Delete GetRandom O(1) - Duplicates allowed
432All O\`one Data Structure
460LFU Cache
489Robot Room Cleaner
535Encode and Decode TinyURL
588Design In-Memory File System
604Design Compressed String Iterator
622Design Circular Queue
631Design Excel Sum Formula
635Design Log Storage System
641Design Circular Deque
642Design Search Autocomplete System
705Design HashSet
706Design HashMap
707Design Linked List
715Range Module
716Max Stack
745Prefix and Suffix Search
900RLE Iterator
1146Snapshot Array
1166Design File System
1172Dinner Plate Stacks
1206Design Skiplist
1236Web Crawler
1244Design A Leaderboard
1268Search Suggestions System
1286Iterator for Combination
1348Tweet Counts Per Frequency
1352Product of the Last K Numbers
1357Apply Discount Every n Orders
1381Design a Stack With Increment Operation
1396Design Underground System
1429First Unique Number
1472Design Browser History
1476Subrectangle Queries
1483Kth Ancestor of a Tree Node
1500Design a File Sharing System
1570Dot Product of Two Sparse Vectors
1586Binary Search Tree Iterator II
1600Throne Inheritance
1603Design Parking System
1622Fancy Sequence
1628Design an Expression Tree With Evaluate Function
1656Design an Ordered Stream
1670Design Front Middle Back Queue
1756Design Most Recently Used Queue
1797Design Authentication Manager
1804Implement Trie II (Prefix Tree)
1825Finding MK Average
1845Seat Reservation Manager
1865Finding Pairs With a Certain Sum
1912Design Movie Rental System
1993Operations on Tree
2013Detect Squares
2034Stock Price Fluctuation
2043Simple Bank System
2069Walking Robot Simulation II
2080Range Frequency Queries
2102Sequentially Ordinal Rank Tracker
2166Design Bitset
2227Encrypt and Decrypt Strings
2241Design an ATM Machine
2254Design Video Sharing Platform
2276Count Integers in Intervals
2286Booking Concert Tickets in Groups
2296Design a Text Editor
2336Smallest Number in Infinite Set
2349Design a Number Container System
2353Design a Food Rating System
2408Design SQL
2424Longest Uploaded Prefix
2502Design Memory Allocator
2526Find Consecutive Integers from a Data Stream
2590Design a Todo List
2618Check if Object Instance of Class
2619Array Prototype Last
2620Counter
2621Sleep
2622Cache With Time Limit
2623Memoize
2624Snail traversal
2625Flatten Deeply Nested Array
2626Array Reduce Transformation
2627Debounce
2628JSON Deep Equal
2629Function Composition
2630Memoize II
2631Group By
2632Curry
2633Convert Object to JSON String
2634Filter Elements from Array
2635Apply Transform Over Each Element in Array
2636Promise Pool
2637Promise Time Limit
2642Design Graph With Shortest Path Calculator
2648Generate Fibonacci Sequence
2649Nested Array Generator
2650Design Cancellable Function
2665Counter II
2666Allow One Function Call
2667Create Hello World Function
2671Frequency Tracker
2675Array of Objects to Matrix
2676Throttle
2677Chunk Array
2690Infinite Method Object
2691Immutability Helper
2692Make Object Immutable
2693Call Function with Custom Context
2694Event Emitter
2695Array Wrapper
2700Differences Between Two Objects
2703Return Length of Arguments Passed
2704To Be Or Not To Be
2705Compact Object
2715Execute Cancellable Function With Delay
2721Execute Asynchronous Functions in Parallel
2722Join Two Arrays by ID
2723Add Two Promises
2724Sort By
2725Interval Cancellation
2726Calculator with Method Chaining
2727Is Object Empty
2754Bind Function to Context
2755Deep Merge of Two Objects
2756Query Batching
2757Generate Circular Array Values
2758Next Day
2759Convert JSON String to Object
2774Array Upper Bound
2775Undefined to Null
2776Convert Callback Based Function to Promise Based Function
2777Date Range Generator
2794Create Object from Two Arrays
2795Parallel Execution of Promises for Individual Results Retrieval
2796Repeat String
2797Partial Function with Placeholders
2803Factorial Generator
2804Array Prototype ForEach
2805Custom Interval
2821Delay the Resolution of Each Promise
2822Inversion of Object
2823Deep Object Filter
3242Design Neighbor Sum Service
3369Design an Array Statistics Tracker
3391Design a 3D Binary Matrix with Efficient Layer Tracking
3408Design Task Manager
3484Design Spreadsheet
3508Implement Router
3709Design Exam Scores Tracker
3815Design Auction System
3822Design Order Management System
3829Design Ride Sharing System
3885Design Event Manager