---
# System prepended metadata

title: 演算法 - 課程 / leetcode 筆記

---

# 演算法 - 課程 / leetcode 筆記

## Week 2 
 - [NP-Complete Problems](https://hackmd.io/@DSArecorder/HJysMNv26)
 - [LeetCode 704. Binary Search](https://hackmd.io/@DSArecorder/B1Imk8Lh6)
 - [LeetCode 704. Binary Search (元素重複)](https://hackmd.io/@DSArecorder/H1V_RDUn6)
 - [LeetCode 35. Search Insert Position](https://hackmd.io/@DSArecorder/SkmPmdInT)
 - [LeetCode 278. First Bad Version](https://hackmd.io/@DSArecorder/SknX4K8ha)
 - [LeetCode 69. Sqrt(x)](https://hackmd.io/@DSArecorder/BkNGjtIna)

## Week 3
- [Time Complexity of $f(n)$](https://hackmd.io/@DSArecorder/Bk41a92h6)
- [LeetCode 33. Search in Rotated Sorted Array](https://hackmd.io/@DSArecorder/SyXvxXgp6)
- [LeetCode 34. Find First and Last Position of Element in Sorted Array](https://hackmd.io/@DSArecorder/r1lhZDepa)
- [LeetCode 374. Guess Number Higher or Lower](https://hackmd.io/@DSArecorder/HkZoGwg66)
- [LeetCode 2529. Maximum Count of Positive Integer and Negative Integer](https://hackmd.io/@DSArecorder/rkssBPxaT)

## Week 4
- [Ans](https://hackmd.io/@wang1234/r1l8enLg3)
- [LeetCode 367. Valid Perfect Square](https://hackmd.io/@DSArecorder/BJgJ6QXRT)
- [LeetCode 744. Find Smallest Letter Greater Than Target](https://hackmd.io/@DSArecorder/ryd_TmmRp)
- [LeetCode 852. Peak Index in a Mountain Array](https://hackmd.io/@DSArecorder/ryZROV7CT)
- [LeetCode 153. Find Minimum in Rotated Sorted Array](https://hackmd.io/@DSArecorder/ryZ3t4XRT)

## Week 5
- [Ans](https://hackmd.io/@wang1234/HyNE__V-5)
- [Leetcode 167. Two Sum II - Input Array Is Sorted](https://hackmd.io/@DSArecorder/BygrBhaRa)
- [Leetcode 121. Valid Palindrome](https://hackmd.io/@DSArecorder/H16mL26Ap)
- [Leetcode 141. Linked List Cycle - LeetCode](https://hackmd.io/@DSArecorder/Sk168nTAa)

## Week 6
- [前三題](https://hackmd.io/@DSArecorder/SyTNwUzlR)
- [Leetcode 1974. Minimum Time to Type Word Using Special Typewriter](https://hackmd.io/@DSArecorder/r1CTCrSkC)
- [Leetcode 55. Jump Game](https://hackmd.io/@DSArecorder/S1AvkLHJ0)

## Week 10
- [CH4 - 筆記](https://hackmd.io/@DSArecorder/B1kGBUMX0)
- [Leetcode 148. Sort List](https://hackmd.io/@DSArecorder/rkrmVNwQA)
- [Leetcode 108. Convert Sorted Array to Binary Search Tree](https://hackmd.io/@DSArecorder/H1fIHVvmA)
- [LeetCode 932. Beautiful Array](https://hackmd.io/@DSArecorder/ByQsXbr80)

## Week 11
- [The Euclidean all nearest neighbor problem](https://hackmd.io/@DSArecorder/HJ0zhjb4R)
- [FFT](https://hackmd.io/@DSArecorder/BkY6Aj-NR)

## Week 12
- [Ans](https://hackmd.io/@DSArecorder/SkifxRCNC)

## Week 15
- [Ans](https://hackmd.io/@DSArecorder/BynxGYtBR)