Note
334 notes.
2022-11
2022-08
- 353. Design Snake Game
- 2296. Design a Text Editor
- 787. Cheapest Flights Within K Stops
- 1298. Maximum Candies You Can Get from Boxes
- 815. Bus Routes
- 767. Reorganize String
- 695. Max Area of Island
- 2158. Amount of New Area Painted Each Day
- 1293. Shortest Path in a Grid with Obstacles Elimination
- 818. Race Car
- 2034. Stock Price Fluctuation
- 1048. Longest String Chain
- 251. Flatten 2D Vector
- 2096. Step-By-Step Directions From a Binary Tree Node to Another
- 921. Minimum Add to Make Parentheses Valid
- 44. Wildcard Matching
2022-07
- 1257. Smallest Common Region
- 1091. Shortest Path in Binary Matrix
- 755. Pour Water
- 336. Palindrome Pairs
- 323. Number of Connected Components in an Undirected Graph
- 797. All Paths From Source to Target
- 244. Shortest Word Distance II
- 528. Random Pick with Weight
- 1396. Design Underground System
- 1244. Design A Leaderboard
- 71. Simplify Path
- 609. Find Duplicate File in System
- 362. Design Hit Counter
- 1604. Alert Using Same Key-Card Three or More Times in a One Hour Period
- 811. Subdomain Visit Count
- 718. Maximum Length of Repeated Subarray
- 1160. Find Words That Can Be Formed by Characters
- 1166. Design File System
- 209. Minimum Size Subarray Sum
- 875. Koko Eating Bananas
2022-06
2022-05
- 977. Squares of a Sorted Array
- High Frequency: Dynamic Programming
- High Frequency: Tree
- High Frequency: Graph
- High Frequency: Stack & Queue
- High Frequency: Heap
- High Frequency: Linked List
- High Frequency: Binary Search
- High Frequency: String
- High Frequency: Advanced
- High Frequency: Array
- High Frequency: Design
- Companies
- 270. Closest Binary Search Tree Value
- 994. Rotting Oranges
- 409. Longest Palindrome
- 150. Evaluate Reverse Polish Notation
- 973. K Closest Points to Origin
- 733. Flood Fill
2022-04
- 125. Valid Palindrome
- 242. Valid Anagram
- 20. Valid Parentheses
- 1249. Minimum Remove to Make Valid Parentheses
2022-03
- 366. Find Leaves of Binary Tree
- 1570. Dot Product of Two Sparse Vectors
- 1762. Buildings With an Ocean View
- 1650. Lowest Common Ancestor of a Binary Tree III
- 314. Binary Tree Vertical Order Traversal
- 27. Remove Element
- 26. Remove Duplicates from Sorted Array
- 1047. Remove All Adjacent Duplicates In String
- 268. Missing Number
- 692. Top K Frequent Words
2022-02
2022-01
- 75. Sort Colors
- 283. Move Zeroes
- 674. Longest Continuous Increasing Subsequence
- 378. Kth Smallest Element in a Sorted Matrix
2021-12
2020-03
2020-02
- 166. Fraction to Recurring Decimal
- 994. Rotting Oranges
- 642. Design Search Autocomplete System
- 981. Time Based Key-Value Store
- 68. Text Justification
- 734. Sentence Similarity/737. Sentence Similarity II
- 256. Paint House
- 109. Convert Sorted List to Binary Search Tree
- 1192. Critical Connections in a Network
- 1249. Minimum Remove to Make Valid Parentheses
2020-01
- 721. Accounts Merge
- 863. All Nodes Distance K in Binary Tree
- 722. Remove Comments
- 273. Integer to English Words
- 168. Excel Sheet Column Title
- 426. Convert Binary Search Tree to Sorted Doubly Linked List
- 106. Construct Binary Tree from Inorder and Postorder Traversal
2019-12
- 687. Longest Univalue Path
- 250. Count Univalue Subtrees
- 228. Summary Ranges
- 435. Non-overlapping Intervals
- 452. Minimum Number of Arrows to Burst Balloons
- 298. Binary Tree Longest Consecutive Sequence
- 986. Interval List Intersections
- 953. Verifying an Alien Dictionary
- 339. Nested List Weight Sum/ 364. Nested List Weight Sum II
- 341. Flatten Nested List Iterator
- 332. Reconstruct Itinerary
- 71. Simplify Path
- 716. Max Stack
- 225. Implement Stack using Queues
- 232. Implement Queue using Stacks
- 159. Longest Substring with At Most Two Distinct Characters
- 290. Word Pattern
- 523. Continuous Subarray Sum
- 494. Target Sum
- 282. Expression Add Operators
- 163. Missing Ranges
- 460. LFU Cache
2019-11
- 735. Asteroid Collision
- 246. Strobogrammatic Number
- 247. Strobogrammatic Number II
- 346. Moving Average from Data Stream
- 388. Longest Absolute File Path
- 527. Word Abbreviation
- 286. Walls and Gates
- 408. Valid Word Abbreviation
- 130. Surrounded Regions
- 621. Task Scheduler
- 406. Queue Reconstruction by Height
- 279. Perfect Squares
- 205. Isomorphic Strings
- 278. First Bad Version
- 34. Find First and Last Position of Element in Sorted Array
- 416. Partition Equal Subset Sum
- 647. Palindromic Substrings
- 438. Find All Anagrams in a String
- 739. Daily Temperatures
- 32. Longest Valid Parentheses
- 394. Decode String
- 301. Remove Invalid Parentheses
- 157. Read N Characters Given Read4
- 158. Read N Characters Given Read4 II - Call multiple times
- High Frequency
- 93. Restore IP Addresses
- 198. House Robber
- 213. House Robber II
- 322. Coin Change
2019-10
- 836. Rectangle Overlap
- 560. Subarray Sum Equals K
- 271. Encode and Decode Strings
- 221. Maximal Square
- 85. Maximal Rectangle
- 312. Burst Balloons
- 202. Happy Number
- 543. Diameter of Binary Tree
- 165. Compare Version Numbers
- 3. Longest Substring Without Repeating Characters
- 211. Add and Search Word - Data structure design
- Trie
- 212. Word Search II
- 238. Product of Array Except Self
- 76. Minimum Window Substring
- 4. Median of Two Sorted Arrays
- 380. Insert Delete GetRandom O(1)
- 295. Find Median from Data Stream
- 227. Basic Calculator II
- 694. Number of Distinct Islands
- 688. Knight Probability in Chessboard
- 391. Perfect Rectangle
- 97. Interleaving String
- 470. Implement Rand10() Using Rand7()
- 30. Substring with Concatenation of All Words
- 74. Search a 2D Matrix
- 240. Search a 2D Matrix II
- 794. Valid Tic-Tac-Toe State
- Topological Sort
- 443. String Compression
- 33. Search in Rotated Sorted Array
- 431. Encode N-ary Tree to Binary Tree
- 207. Course Schedule
- 210. Course Schedule II
- 269. Alien Dictionary
- 428. Serialize and Deserialize N-ary Tree
- 449. Serialize and Deserialize BST
- 297. Serialize and Deserialize Binary Tree
- 348. Design Tic-Tac-Toe
2019-09
- 490. The Maze
- 505. The Maze II
- 973. K Closest Points to Origin
- 1135. Connecting Cities With Minimum Cost
- Union Find
- 763. Partition Labels
- 1167. Minimum Cost to Connect Sticks
- 347. Top K Frequent Elements
- 937. Reorder Data in Log Files
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 116. Populating Next Right Pointers in Each Node/ 117. Populating Next Right Pointers in Each Node II
- 138. Copy List with Random Pointer
- 239. Sliding Window Maximum
- 173. Binary Search Tree Iterator
- 23. Merge k Sorted Lists
- 36. Valid Sudoku
- 54. Spiral Matrix/59. Spiral Matrix II
- 48. Rotate Image
- 318. Maximum Product of Word Lengths
- 73. Set Matrix Zeroes
- 731. My Calendar II
- 621. Task Scheduler
- 729. My Calendar I
- 252. Meeting Rooms
- 253. Meeting Rooms II
- 57. Insert Interval
- 334. Increasing Triplet Subsequence
- 299. Bulls and Cows
- 56. Merge Intervals
- 289. Game of Life
- 220. Contains Duplicate III
- 219. Contains Duplicate II
- 189. Rotate Array
- 169. Majority Element/ 229. Majority Element II
- 134. Gas Station
- 135. Candy
- 128. Longest Consecutive Sequence
2019-08
- 41. First Missing Positive
- 170. Two Sum III - Data structure design
- 155. Min Stack
- 146. LRU Cache
- 24. Swap Nodes in Pairs
- 82. Remove Duplicates from Sorted List II
- 160. Intersection of Two Linked Lists
- 98. Validate Binary Search Tree
- 114. Flatten Binary Tree to Linked List
- 206. Reverse Linked List
- 92. Reverse Linked List II
- 51. N-Queens
- 294. Flip Game II
- 669. Trim a Binary Search Tree
- 129. Sum Root to Leaf Numbers
- 100. Same Tree
- 14. Longest Common Prefix
- 387. First Unique Character in a String
- 108. Convert Sorted Array to Binary Search Tree
- 257. Binary Tree Paths
- 437. Path Sum III
- 124. Binary Tree Maximum Path Sum
- 112. Path Sum
- 113. Path Sum II
- 42. Trapping Rain Water
- 84. Largest Rectangle in Histogram
- 64. Minimum Path Sum
- 236. Lowest Common Ancestor of a Binary Tree
- 235. Lowest Common Ancestor of a Binary Search Tree
- 91. Decode Ways
- 62. Unique Paths
- 63. Unique Paths II
- 101. Symmetric Tree
- 161. One Edit Distance
- 300. Longest Increasing Subsequence
- 72. Edit Distance
2019-07
- 140. Word Break II
- Selection Sort
- Quick Sort
- Merge Sort
- 53. Maximum Subarray
- Binary Search
- 55. Jump Game
- 45. Jump Game II
- 13. Roman to Integer
- 695. Max Area of Island
- 12. Integer to Roman
- 547. Friend Circles
- 542. 01 Matrix
- 127. Word Ladder
- 261. Graph Valid Tree
- 784. Letter Case Permutation
- 79. Word Search
- 208. Implement Trie (Prefix Tree)
- 77. Combinations
- 216. Combination Sum III
- 148. Sort List
2019-05
2019-04
- 257. Binary Tree Paths
- 94. Binary Tree Inorder Traversal
- 104. Maximum Depth of Binary Tree
- 139. Word Break
- 152. Maximum Product Subarray
- 70. Climbing Stairs
- 5. Longest Palindromic Substring
- 121. Best Time to Buy and Sell Stock
2019-03
- 785. Is Graph Bipartite?
- 958. Check Completeness of a Binary Tree
- 200. Number of Islands
- 133. Clone Graph
- 103. Binary Tree Zigzag Level Order Traversal
- 199. Binary Tree Right Side View
- 102. Binary Tree Level Order Traversal
- 107. Binary Tree Level Order Traversal II
- 31. Next Permutation
- 148. Sort List
- 47. Permutations II
2019-02
- 46. Permutations
- 39. Combination Sum
- 40. Combination Sum II
- 96. Unique Binary Search Trees
- 95. Unique Binary Search Trees II
- 617. Merge Two Binary Trees
- 80. Remove Duplicates from Sorted Array II
- 215. Kth Largest Element in an Array
- 38. Count and Say
- 78. Subsets
- 90. Subsets II
- 17. Letter Combinations of a Phone Number
- 22. Generate Parentheses
- 121. Best Time to Buy and Sell Stock
- 122. Best Time to Buy and Sell Stock II
2019-01
- 19. Remove Nth Node From End of List
- 28. Implement strStr()
- 18. 4Sum
- 151. Reverse Words in a String
- 345. Reverse Vowels of a String
- 9. Palindrome Number
- 6. ZigZag Conversion
- 7. Reverse Integer
- 10. Regular Expression Matching
- 16. 3Sum Closest
- 1. Two Sum
- 15. 3Sum
- 11. Container With Most Water
- 144. Binary Tree Preorder Traversal
- 110. Balanced Binary Tree