git conflict 與 three-ways-merge

動機 之前有遇過,但沒有好好認識他,來記錄一下 ...

February 1, 2021 · 1 min · zhengcf

bigO對應到的input大小

動機 一直很疑惑input與bigO之間的n大概是多少,所以把參考的表格存一份在這裡 ...

January 31, 2021 · 1 min · zhengcf

leetcode-230 - Kth Smallest Element in a BST

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

January 31, 2021 · 1 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-395 - Longest Substring with At Least K Repeating Characters

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

January 31, 2021 · 2 min · zhengcf

leetcode-779 - K-th Symbol in Grammar

動機 十分有趣的題目 ...

January 31, 2021 · 2 min · zhengcf

leetcode-523 - Continuous Subarray Sum

動機 要與560一起看 ...

January 31, 2021 · 2 min · zhengcf