此系列會用 C++ 刷 leetcode,並訓練自己的 coding 題面試能力,用 REATO 的方式撰寫。
共分成以下部分:
1. **Repeat(題目重複確認)**
2. **Examples(舉例確認理解)**
3. **Approach(解題思路)**
4. **Code(主要使用 C++ )**
5. **Trace 範例**
6. 相關題目與延伸概念
7. 補充:語法&注意事項
ps. 內容會借助 AI 工具
題目連結(https://leetcode.com/problems/jump-game/description/) You are given an inte...
題目連結(https://leetcode.com/problems/container-with-most-water/description/?envTyp...
題目連結(https://leetcode.com/problems/add-two-numbers/description/) You are given t...
題目連結(https://leetcode.com/problems/swap-nodes-in-pairs/description/) Given a lin...
題目連結(https://leetcode.com/problems/swim-in-rising-water/description/?envType=dai...
題目連結(https://leetcode.com/problems/avoid-flood-in-the-city/description/?envType=...
題目連結(https://leetcode.com/problems/maximum-subarray/description/) Given an integ...
題目連結(https://leetcode.com/problems/subsets/description/) Given an integer array ...
題目連結(https://leetcode.com/problems/taking-maximum-energy-from-the-mystic-dungeon...
第一次參加鐵人賽,原本只是想培養自己刷題的習慣,沒想到一路走來竟然完成了 30 天的挑戰!但第29天忘記發文=沒完成(完賽心得都不知道怎麼改了) 身為演算法...