Skip to content
LEETFLIX

method

Design — animated LeetCode walkthroughs

LeetCode problems solved with Design. Browse the complete tag, then watch the algorithm move — step-by-step animation, Python and Go.

168 problems · 110 animated · 58 locked

Full Design index

  1. 146LRU CacheWatch
  2. 155Min StackWatch
  3. 157Read N Characters Given Read4Locked
  4. 158Read N Characters Given read4 II - Call Multiple TimesLocked
  5. 170Two Sum III - Data structure designLocked
  6. 173Binary Search Tree IteratorWatch
  7. 208Implement Trie (Prefix Tree)Watch
  8. 211Design Add and Search Words Data StructureWatch
  9. 225Implement Stack using QueuesWatch
  10. 232Implement Queue using StacksWatch
  11. 244Shortest Word Distance IILocked
  12. 251Flatten 2D VectorLocked
  13. 271Encode and Decode StringsLocked
  14. 277Find the CelebrityLocked
  15. 278First Bad VersionWatch
  16. 281Zigzag IteratorLocked
  17. 284Peeking IteratorWatch
  18. 288Unique Word AbbreviationLocked
  19. 295Find Median from Data StreamWatch
  20. 297Serialize and Deserialize Binary TreeWatch
  21. 303Range Sum Query - ImmutableWatch
  22. 304Range Sum Query 2D - ImmutableWatch
  23. 307Range Sum Query - MutableWatch
  24. 308Range Sum Query 2D - MutableLocked
  25. 341Flatten Nested List IteratorWatch
  26. 346Moving Average from Data StreamLocked
  27. 348Design Tic-Tac-ToeLocked
  28. 352Data Stream as Disjoint IntervalsWatch
  29. 353Design Snake GameLocked
  30. 355Design TwitterWatch
  31. 359Logger Rate LimiterLocked
  32. 362Design Hit CounterLocked
  33. 374Guess Number Higher or LowerWatch
  34. 379Design Phone DirectoryLocked
  35. 380Insert Delete GetRandom O(1)Watch
  36. 381Insert Delete GetRandom O(1) - Duplicates allowedWatch
  37. 384Shuffle an ArrayWatch
  38. 431Encode N-ary Tree to Binary TreeLocked
  39. 432All O`one Data StructureWatch
  40. 449Serialize and Deserialize BSTWatch
  41. 460LFU CacheWatch
  42. 489Robot Room CleanerLocked
  43. 535Encode and Decode TinyURLWatch
  44. 588Design In-Memory File SystemLocked
  45. 604Design Compressed String IteratorLocked
  46. 622Design Circular QueueWatch
  47. 631Design Excel Sum FormulaLocked
  48. 635Design Log Storage SystemLocked
  49. 641Design Circular DequeWatch
  50. 642Design Search Autocomplete SystemLocked
  51. 676Implement Magic DictionaryWatch
  52. 677Map Sum PairsWatch
  53. 702Search in a Sorted Array of Unknown SizeLocked
  54. 703Kth Largest Element in a StreamWatch
  55. 705Design HashSetWatch
  56. 706Design HashMapWatch
  57. 707Design Linked ListWatch
  58. 715Range ModuleWatch
  59. 716Max StackLocked
  60. 729My Calendar IWatch
  61. 731My Calendar IIWatch
  62. 732My Calendar IIIWatch
  63. 745Prefix and Suffix SearchWatch
  64. 843Guess the WordWatch
  65. 855Exam RoomWatch
  66. 895Maximum Frequency StackWatch
  67. 900RLE IteratorWatch
  68. 901Online Stock SpanWatch
  69. 911Online ElectionWatch
  70. 919Complete Binary Tree InserterWatch
  71. 933Number of Recent CallsWatch
  72. 981Time Based Key-Value StoreWatch
  73. 1032Stream of CharactersWatch
  74. 1095Find in Mountain ArrayWatch
  75. 1114Print in OrderWatch
  76. 1115Print FooBar AlternatelyWatch
  77. 1116Print Zero Even OddWatch
  78. 1117Building H2OWatch
  79. 1146Snapshot ArrayWatch
  80. 1157Online Majority Element In SubarrayWatch
  81. 1166Design File SystemLocked
  82. 1172Dinner Plate StacksWatch
  83. 1188Design Bounded Blocking QueueLocked
  84. 1195Fizz Buzz MultithreadedWatch
  85. 1206Design SkiplistWatch
  86. 1226The Dining PhilosophersWatch
  87. 1236Web CrawlerLocked
  88. 1237Find Positive Integer Solution for a Given EquationWatch
  89. 1242Web Crawler MultithreadedLocked
  90. 1244Design A LeaderboardLocked
  91. 1261Find Elements in a Contaminated Binary TreeWatch
  92. 1274Number of Ships in a RectangleLocked
  93. 1279Traffic Light Controlled IntersectionLocked
  94. 1286Iterator for CombinationWatch
  95. 1348Tweet Counts Per FrequencyWatch
  96. 1352Product of the Last K NumbersWatch
  97. 1357Apply Discount Every n OrdersWatch
  98. 1381Design a Stack With Increment OperationWatch
  99. 1396Design Underground SystemWatch
  100. 1428Leftmost Column with at Least a OneLocked
  101. 1429First Unique NumberLocked
  102. 1472Design Browser HistoryWatch
  103. 1476Subrectangle QueriesWatch
  104. 1483Kth Ancestor of a Tree NodeWatch
  105. 1500Design a File Sharing SystemLocked
  106. 1533Find the Index of the Large IntegerLocked
  107. 1538Guess the Majority in a Hidden ArrayLocked
  108. 1570Dot Product of Two Sparse VectorsLocked
  109. 1586Binary Search Tree Iterator IILocked
  110. 1600Throne InheritanceWatch
  111. 1603Design Parking SystemWatch
  112. 1618Maximum Font to Fit a Sentence in a ScreenLocked
  113. 1622Fancy SequenceWatch
  114. 1628Design an Expression Tree With Evaluate FunctionLocked
  115. 1656Design an Ordered StreamWatch
  116. 1670Design Front Middle Back QueueWatch
  117. 1724Checking Existence of Edge Length Limited Paths IILocked
  118. 1756Design Most Recently Used QueueLocked
  119. 1778Shortest Path in a Hidden GridLocked
  120. 1797Design Authentication ManagerWatch
  121. 1804Implement Trie II (Prefix Tree)Locked
  122. 1810Minimum Path Cost in a Hidden GridLocked
  123. 1825Finding MK AverageWatch
  124. 1845Seat Reservation ManagerWatch
  125. 1865Finding Pairs With a Certain SumWatch
  126. 1912Design Movie Rental SystemWatch
  127. 1993Operations on TreeWatch
  128. 2013Detect SquaresWatch
  129. 2034Stock Price Fluctuation Watch
  130. 2043Simple Bank SystemWatch
  131. 2069Walking Robot Simulation IIWatch
  132. 2080Range Frequency QueriesWatch
  133. 2102Sequentially Ordinal Rank TrackerWatch
  134. 2166Design BitsetWatch
  135. 2227Encrypt and Decrypt StringsWatch
  136. 2241Design an ATM MachineWatch
  137. 2254Design Video Sharing PlatformLocked
  138. 2276Count Integers in IntervalsWatch
  139. 2286Booking Concert Tickets in GroupsWatch
  140. 2296Design a Text EditorWatch
  141. 2336Smallest Number in Infinite SetWatch
  142. 2349Design a Number Container SystemWatch
  143. 2353Design a Food Rating SystemWatch
  144. 2408Design SQLWatch
  145. 2424Longest Uploaded PrefixWatch
  146. 2502Design Memory AllocatorWatch
  147. 2526Find Consecutive Integers from a Data StreamWatch
  148. 2590Design a Todo ListLocked
  149. 2642Design Graph With Shortest Path CalculatorWatch
  150. 2671Frequency TrackerWatch
  151. 2728Count Houses in a Circular StreetLocked
  152. 2782Number of Unique CategoriesLocked
  153. 2936Number of Equal Numbers BlocksLocked
  154. 3023Find Pattern in Infinite Stream ILocked
  155. 3037Find Pattern in Infinite Stream IILocked
  156. 3064Guess the Number Using Bitwise Questions ILocked
  157. 3094Guess the Number Using Bitwise Questions IILocked
  158. 3242Design Neighbor Sum ServiceWatch
  159. 3369Design an Array Statistics Tracker Locked
  160. 3391Design a 3D Binary Matrix with Efficient Layer TrackingLocked
  161. 3408Design Task ManagerWatch
  162. 3484Design SpreadsheetWatch
  163. 3508Implement RouterWatch
  164. 3709Design Exam Scores TrackerWatch
  165. 3815Design Auction SystemWatch
  166. 3822Design Order Management SystemLocked
  167. 3829Design Ride Sharing SystemWatch
  168. 3885Design Event ManagerWatch