LeetCode
LeetCode copied to clipboard
## 动态规划:
- [x] [1. Two Sum](https://leetcode.com/problems/two-sum/) - [x] [2. Add Two Numbers](https://leetcode.com/problems/add-two-numbers/) - [x] [3. Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/) - [x] [4. Median of Two Sorted Arrays](https://leetcode.com/problems/median-of-two-sorted-arrays/) - [x] [5....
20210126 - [x] [42. Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water/) **DP; Two Pointers** - [x] [91. Decode Ways](https://leetcode.com/problems/decode-ways/) **DP** - [x] [121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) - [x] [53. Maximum...
20210114 - [x] [843. Guess the Word](https://leetcode.com/problems/guess-the-word/) **keep narrowing range; minimax** - [x] [1423. Maximum Points You Can Obtain from Cards](https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/) **Sliding Window** - [x] [359. Logger Rate Limiter](https://leetcode.com/problems/logger-rate-limiter/) **Hash...
20201230 - [x] [94. Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal/) **recursion + iteration, morris** - [x] [144. Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/) : **recursion + iteration, morris** - [x] [145. Binary Tree Postorder...
20201217 - [x] [42. Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water/) - [x] [20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) - [x] [1249. Minimum Remove to Make Valid Parentheses](https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/) - [x] [85. Maximal Rectangle](https://leetcode.com/problems/maximal-rectangle/) - [x] [394.Decode String](https://leetcode.com/problems/decode-string/)...
20201223 - [ ] [621. Task Scheduler](https://leetcode.com/problems/task-scheduler/) - [ ] [767. Reorganize String](https://leetcode.com/problems/reorganize-string/) - [ ] [358. Rearrange String k Distance Apart](https://leetcode.com/problems/rearrange-string-k-distance-apart/) 20201226 - [ ] [353. Design Snake Game](https://leetcode.com/problems/design-snake-game/)...
20201118 - [x] [200.Number of Islands](https://leetcode.com/problems/number-of-islands/) **DFS, BFS, Union Find** - [x] [394.Decode String](https://leetcode.com/problems/decode-string/) **stack**, seems not a DFS - [x] [1192.Critical Connections in a Network](https://leetcode.com/problems/critical-connections-in-a-network/) **DFS, Dijistra, *Add explanation...
20201119 - [x] [199.Binary Tree Right Side View](https://github.com/ylqi007/LeetCode/issues/new) **BFS + sentinel** 20201123 - [x] [127. Word Ladder](https://leetcode.com/problems/word-ladder/) **BFS, Two Direction BFS** - [x] [994. Rotting Oranges](https://leetcode.com/problems/rotting-oranges/) **BFS, BFS 1ms 值得再看**...
20201114 - [x] [200. Number of Islands](https://leetcode.com/problems/number-of-islands/) **DFS, BFS, UF** - [x] [128. Longest Consecutive Sequence](https://leetcode.com/problems/longest-consecutive-sequence/) **Sort, Set, Map** - [x] [547. Friend Circles](https://leetcode.com/problems/friend-circles/) **DFS, UF** 20201115 - [x] [399....