---
# System prepended metadata

title: Leetcode刷題筆記

---

# Leetcode刷題筆記

### 中文詳解
- [Leetcode 2589. Minimum Time to Complete All Tasks](/xwWaqPB-R1Sq2inGwNx0TA?view)


### Linked list 日常筆記
---
- [Leetcode 382. Linked List Random Node](/oK2SDNfNQZeUUp0nEdeqLg?view)


### Sort 日常筆記
---
- [Leetcode 2567. Minimum Score by Changing Two Elements](/R023rPkwSnKVqM-eoo4CXA?view)


### Hash_map 日常筆記
---
- [Leetcode 2499. Minimum Total Cost to Make Arrays Unequal](/6x_SyEzYTB644ACi9jZMDg?view)

### Two pointer 日常筆記
---
- [Leetcode 2444. Count Subarrays With Fixed Bounds](/upARtFdhRk6d9PHQK6wm_g?view)
- [Leetcode 567. Permutation in String](/WksM75kZTvCKmj1RRLRTAg?view)
- [Leetcode 438. Find All Anagrams in a String](/ZbBn3yHvRluGOe-SD2Ty_Q?view)
- [Leetcode 904. Fruit Into Baskets](/ky2kyM-OQZOArQGZ76UfIw?view)

### Binary search 日常筆記
---
- [Leetcode 1011. Capacity To Ship Packages Within D Days](/t798mlonRpKN43D3VT8PQQ?view)
- [Leetcode 540. Single Element in a Sorted Array](/Qep59R1dQSOx2O1O9N9p1w)

### Tree 日常筆記
---
- [Leetcode 226. Invert Binary Tree](/b790ynhYTEWfWhiar2MrdQ?view)
- [Leetcode 783. Minimum Distance Between BST Nodes](/jisjApdqQc-barOzCmTkjw?view)
- [Leetcode 104. Maximum Depth of Binary Tree](/Qy6wMbcpRB6gxNKDZu_WWg?view)


### Greedy 日常筆記
---

- [Leetcode 1402. Reducing Dishes](/u4cEBLnzQBiFHPK0gx33Kw?view)
- [Leetcode 2568. Minimum Impossible OR](/kAV8FTNwQfueplR4sIylQw?view)
- [Leetcode 443. String Compression](/uBIje5hHRF24dSXln_4Qvw?view)
- [Leetcode 907. Sum of Subarray Minimums](/A_xl2nPVSiOlzuACSf72Yw?view)
- [Leetcode 121. Best Time to Buy and Sell Stock](/pQzr5tW2RYObyRgcjpEKqQ?view)
- [Leetcode 502. IPO](/VE9zfpFrT4eLWPz8ZPPrjQ?view)
- [Leetcode 45. Jump Game II](/mMO7sSp7QxSPo8wF0vxNqA?view)


### BFS 日常筆記
- [Leetcode 1466. Reorder Routes to Make All Paths Lead to the City Zero](/HLcCku6JSW-rgjqM-sFOSQ?view)
- [1162. As Far from Land as Possible](/ACU-v14bQ_-cu9p9oPxbow?view)

### DFS 日常筆記
- [Leetcode 652. Find Duplicate Subtrees](/AcfJkHH8Q0OTaYt2FiUgYg?view)
- [Leetcode 427. Construct Quad Tree](/ODnFg8Y9SAim6VIrnO8npQ?view)
- [Leetcode 72. Edit Distance](/YBg6_dORQPCN3WsHV6l3fQ?view)
- [Leetcode 103. Binary Tree Zigzag Level Order Traversal](/hxh_GVWYT8usgPKafGginA?view
- [Leetcode 2477. Minimum Fuel Cost to Report to the Capital](/ipRizIWFQFaWba2Ge3xVqw?view)


### DP 日常筆記
---
- [Leetcode 2218. Maximum Value of K Coins From Piles](/vdsa9IjUQlimG7Aq5YvPKg?view)
- [Leetcode 983. Minimum Cost For Tickets](/3Ciq8ko_SLmvG7ZJqm3DqQ?view)
- [Leetcode 1653. Minimum Deletions to Make String Balanced](/iqAOZaajRSmcNHWHGaEarw?view)


### Graph 日常筆記
---
- [Leetcode 2360. Longest Cycle in a Graph](/Q8pF699ZQeW-thMKlSu9uw?view)
- [Leetcode 2316. Count Unreachable Pairs of Nodes in an Undirected Graph](/6DkHtBq7SgWNw2h3NxR-RQ?view)