-
-
- 704. Binary Search
- 69. Sqrt(x)
- 278. First Bad Version
- 34. Find First and Last Position of Element in Sorted Array
- 33. Search in Rotated Sorted Array
- 81. Search in Rotated Sorted Array II
- 162. Find Peak Element
- 4. Median of Two Sorted Arrays
- 1095. Find in Mountain Array
- 240. Search a 2D Matrix II
- 540. Single Element in a Sorted Array
- 528. Random Pick with Weight
- 1300. Sum of Mutated Array Closest to Target
- 410. Split Array Largest Sum
- 1044. Longest Duplicate Substring
- *644. Maximum Average Subarray II
- *1060. Missing Element in Sorted Array
- *1062. Longest Repeating Substring
- *1891. Cutting Ribbons
-
- 26. Remove Duplicate Numbers in Array
- 283. Move Zeroes
- 75. Sort Colors
- 88. Merge Sorted Arrays
- 167. Two Sum II - Input array is sorted
- 11. Container With Most Water
- 42. Trapping Rain Water
- 15. 3Sum
- 16. 3Sum Closest
- 18. 4Sum
- 454. 4Sum II
- 409. Longest Palindrome
- 125. Valid Palindrome
- 647. Palindromic Substrings
- 209. Minimum Size Subarray Sum
- 5. Longest Palindromic Substring
- 395. Longest Substring with At Least K Repeating Characters
- 424. Longest Repeating Character Replacement
- 76. Minimum Window Substring
- 3. Longest Substring Without Repeating Characters
- 1004. Max Consecutive Ones III
- 1658. Minimum Operations to Reduce X to Zero
- *277. Find the Celebrity
- *340. Longest Substring with At Most K Distinct Characters
-
- 203. Remove Linked List Elements
- 19. Remove Nth Node From End of List
- 876. Middle of the Linked List
- 206. Reverse Linked List
- 92. Reverse Linked List II
- 24. Swap Nodes in Pairs
- 707. Design Linked List
- 148. Sort List
- 160. Intersection of Two Linked Lists
- 141. Linked List Cycle
- 142. Linked List Cycle II
- 328. Odd Even Linked List
-
- 225. Implement Stack using Queues
- 54. Spiral Matrix
- 155. Min Stack
- 232. Implement Queue using Stacks
- 150. Evaluate Reverse Polish Notation
- 224. Basic Calculator
- 20. Valid Parentheses
- 1472. Design Browser History
- 1209. Remove All Adjacent Duplicates in String II
- 1249. Minimum Remove to Make Valid Parentheses
- *281. Zigzag Iterator
- *1429. First Unique Number
- *346. Moving Average from Data Stream
-
- 692. Top K Frequent Words
- 347. Top K Frequent Elements
- 973. K Closest Points
- 23. Merge K Sorted Lists
- 264. Ugly Number II
- 378. Kth Smallest Element in a Sorted Matrix
- 295. Find Median from Data Stream
- 767. Reorganize String
- 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- 895. Maximum Frequency Stack
- 1705. Maximum Number of Eaten Apples
- *1086. High Five
-
- 二叉树
- 543. Diameter of Binary Tree
- 101. Symmetric Tree
- 124. Binary Tree Maximum Path Sum
- 226. Invert Binary Tree
- 104. Maximum Depth of Binary Tree
- 951. Flip Equivalent Binary Trees
- 236. Lowest Common Ancestor of a Binary Tree
- 987. Vertical Order Traversal of a Binary Tree
- 572. Subtree of Another Tree
- 863. All Nodes Distance K in Binary Tree
- 1110. Delete Nodes And Return Forest
- 230. Kth Smallest element in a BST
- 98. Validate Binary Search Tree
- 235. Lowest Common Ancestor of a Binary Search Tree
- 669. Trim a Binary Search Tree
- 700. Search in a Binary Search Tree
- 108. Convert Sorted Array to Binary Search Tree
- 450. Delete Node in a BST
- 938. Range Sum of BST
- *270. Closest Binary Search Tree Value
- *333. Largest BST Subtree
- *285. Inorder Successor in BST
- *1485. Clone Binary Tree With Random Pointer
- 回溯
- 39. Combination Sum
- 78. Subsets
- 46. Permutation
- 77. Combinations
- 17. Letter Combinations of a Phone Number
- 51. N-Queens
- 93. Restore IP Addresses
- 22. Generate Parentheses
- 856. Score of Parentheses
- 301. Remove Invalid Parentheses
- 37. Sodoku Solver
- 图DFS
- 126. Word Ladder II
- 212. Word Search II
- 79. Word Search
- 399. Evaluate Division
- 1376. Time Needed to Inform All Employees
- 131. Palindrome Partitioning
- 491. Non-decreasing Subsequences
- 698. Partition to K Equal Sum Subsets
- 526. Beautiful Arrangement
- 139. Word Break
- 377. Combination Sum IV
- 472. Concatenated Words
- 403. Frog Jump
- 329. Longest Increasing Path in a Matrix
- 797. All Paths From Source to Target
- 695. Max Area of Island
- 341. Flatten Nested List Iterator
- 394. Decode String
- *291. Word Pattern II
- *694. Number of Distinct Islands
- *1274. Number of Ships in a Rectangle
- *1087. Brace Expansion
-
- 102. Binary Tree Level Order Traversal
- 103. Binary Tree Zigzag Level Order Traversal
- 297. Serialize and Deserialize Binary Tree
- 310. Minimum Height Trees
- 127. Word Ladder
- 934. Shortest Bridge
- 200. Number of Islands
- 133. Clone Graph
- 130. Surrounded Regions
- 752. Open the Lock
- 815. Bus Routes
- 1091. Shortest Path in Binary Matrix
- 542. 01 Matrix
- 1293. Shortest Path in a Grid with Obstacles Elimination
- 417. Pacific Atlantic Water Flow
- 207. Course Schedule
- 210. Course Schedule II
- 787. Cheapest Flights Within K Stops
- 444. Sequence Reconstruction
- 994. Rotting Oranges
- 785. Is Graph Bipartite?
- *366. Find Leaves of Binary Tree
- *314. Binary Tree Vertical Order Traversal
- *269. Alien Dictionary
- *323. Connected Component in Undirected Graph
- *490. The Maze
-
- 70. Climbing Stairs
- 72. Edit Distance
- 377. Combination Sum IV
- 1335. Minimum Difficulty of a Job Schedule
- 97. Interleaving String
- 472. Concatenated Words
- 403. Frog Jump
- 674. Longest Continuous Increasing Subsequence
- 62. Unique Paths
- 64. Minimum Path Sum
- 368. Largest Divisible Subset
- 300. Longest Increasing Subsequence
- 354. Russian Doll Envelopes
- 121. Best Time to Buy and Sell Stock
- 132. Palindrome Partitioning II
- 312. Burst Balloons
- 1143. Longest Common Subsequence
- 718. Maximum Length of Repeated Subarray
- 174. Dungeon Game
- 115. Distinct Subsequences
- 91. Decode Ways
- 639. Decode Ways II
- 712. Minimum ASCII Delete Sum for Two Strings
- 221. Maximal Square
- 1277. Count Square Submatrices with All Ones
- 198. House Robber
- 213. House Robber II
- 1235. Maximum Profit in Job Scheduling
- 740. Delete and Earn
- 87. Scramble String
- 1140. Stone Game II
- 322. Coin Change
- 518. Coin Change II
- 1048. Longest String Chain
- 44. Wildcard Matching
- 10. Regular Expression Matching
- 32. Longest Valid Parentheses
- 1043. Partition Array for Maximum Sum
- *256. Paint House
- 926. Flip String to Monotone Increasing
- *1062. Longest Repeating Substring
- *1216. Valid Palindrome III
-
单调栈