leetcode-16 - 3Sum Closest

動機 3sum的two ptr很重要 ...

July 31, 2021 · 1 min · zhengcf

leetcode-452 - Minimum Number of Arrows to Burst Balloons

動機 題目給的是氣球的寬度 ...

July 31, 2021 · 2 min · zhengcf

leetcode-74 - Search a 2D Matrix

動機 這種題目是不是就是saddleback就好了 ...

July 31, 2021 · 1 min · zhengcf

leetcode-92 - Reverse Linked List II

動機 就reverse ...

July 31, 2021 · 1 min · zhengcf

leetcode-673 - Number of Longest Increasing Subsequence

動機 dp的比較好理解 ...

July 31, 2021 · 1 min · zhengcf

leetcode-216 - Combination Sum III

動機 這比上一題(40)簡單 ...

July 31, 2021 · 2 min · zhengcf

leetcode-40 - Combination Sum II

動機 處理backtrack的重複就是在同一層展開完,再到下一層去 ...

July 31, 2021 · 1 min · zhengcf

leetcode-698 - Partition to K Equal Sum Subsets

動機 人生第一次用狀態壓縮 ...

July 31, 2021 · 1 min · zhengcf

leetcode-744 - Find Smallest Letter Greater Than Target

動機 複習upper bound ...

July 31, 2021 · 1 min · zhengcf

leetcode-704 - Binary Search

動機 複習bsearch ...

July 31, 2021 · 1 min · zhengcf