leetcode-22 - Generate Parentheses

動機 複習backtrack,比起以前的commit,發現現在code越寫越短了 ...

July 17, 2021 · 1 min · zhengcf

leetcode-322 - Coin Change

動機 複習dp ...

July 16, 2021 · 2 min · zhengcf

leetcode-62 - Unique Paths

動機 複習dp ...

July 16, 2021 · 1 min · zhengcf

leetcode-70 - Climbing Stairs

動機 複習基本DP ...

July 16, 2021 · 1 min · zhengcf

leetcode-53 - Maximum Subarray

動機 解一解 ...

July 14, 2021 · 2 min · zhengcf

leetcode-123 - Best Time to Buy and Sell Stock III

動機 用算k個的dp就可以解這題,但是想介紹當初沒有用dp的解法 ...

January 31, 2021 · 2 min · zhengcf

leetcode-714 - Best Time to Buy and Sell Stock with Transaction Fee

動機 與309、188一起看效果更佳 ...

January 31, 2021 · 2 min · zhengcf

leetcode-309 - Best Time to Buy and Sell Stock with Cooldown

動機 可以當成188的暖身題 ...

January 31, 2021 · 2 min · zhengcf

leetcode-121 - Best Time to Buy and Sell Stock

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

January 31, 2021 · 1 min · zhengcf

leetcode-647 - Palindromic Substrings

動機 第一次看到DP比較慢 ...

January 31, 2021 · 1 min · zhengcf