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-100 - Same Tree

動機 複習dfs與bfs ...

July 14, 2021 · 1 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-25 - Reverse Nodes in k-Group

動機 之前寫的很爛,居然還用到例外!? 所以重寫 ...

July 10, 2021 · 2 min · zhengcf

leetcode-327 - Count of Range Sum

動機 使用divide and conquer的時機是? ...

February 20, 2021 · 3 min · zhengcf

leetcode-230 - Kth Smallest Element in a BST

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

January 31, 2021 · 1 min · zhengcf

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

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

January 31, 2021 · 2 min · zhengcf