30天挑戰!用LeetCode來學程式(29) — Best Time to Buy and Sell Stock with Cooldown今天的題目像是個簡化過的股票市場,我們應該如何才能得到最高收益呢?Aug 14, 2020Aug 14, 2020
30天挑戰!用LeetCode來學程式(27) — Construct Binary Tree from Inorder and Postorder Traversal這題居然是我大學時候的習題,看來老師也是蠻有選題的sense 的。Aug 2, 2020Aug 2, 2020
30天挑戰!用LeetCode來學程式(25) — Find Minimum in Rotated Sorted Array II今天的題目有個很直觀做法,但能不能有個更快的做法呢?Jul 30, 2020Jul 30, 2020
30天挑戰!用LeetCode來學程式(24) — All Paths From Source to Target今天的題目會用到遞迴的概念,有沒有發現遞迴很實用,出現很多次呢?Jul 28, 2020Jul 28, 2020
30天挑戰!用LeetCode來學程式(23) — Single Number III今天的題目有點偏數學,但也是因為如此才能解的漂亮。這次也學習使用了C++ 的lambda,蠻有趣的。Jul 27, 2020Jul 27, 2020