leetcode-70 - Climbing Stairs

動機 複習基本DP ...

July 16, 2021 · 1 min · zhengcf

leetcode-15 - 3Sum

動機 複習3sum ...

July 16, 2021 · 1 min · zhengcf

leetcode-141 - Linked List Cycle

動機 複習判圈 ...

July 14, 2021 · 2 min · zhengcf

leetcode-53 - Maximum Subarray

動機 解一解 ...

July 14, 2021 · 2 min · zhengcf

leetcode-1 - Two Sum

動機 lambda加map好方便 ...

July 14, 2021 · 1 min · zhengcf

leetcode-230 - Kth Smallest Element in a BST

動機 不要被BST誤導阿!!! 一直往O(log(n))的方向去想 ...

January 31, 2021 · 1 min · zhengcf

leetcode-121 - Best Time to Buy and Sell Stock

動機 經典的stock系列題目的開始 ...

January 31, 2021 · 1 min · zhengcf

leetcode-395 - Longest Substring with At Least K Repeating Characters

動機 搞懂調整sliding window的條件 ...

January 31, 2021 · 2 min · zhengcf

leetcode-166 - Fraction to Recurring Decimal

動機 數論不好,當初居然是用算出來的商去看有沒有重複 ...

January 30, 2021 · 1 min · zhengcf

leetcode-212 - Word Search II

動機 原來lru_cache搭配dfs可以達到判有沒有visited的效果!! ...

January 30, 2021 · 2 min · zhengcf