此系列會用 C++ 刷 leetcode,並訓練自己的 coding 題面試能力,用 REATO 的方式撰寫。
共分成以下部分:
1. **Repeat(題目重複確認)**
2. **Examples(舉例確認理解)**
3. **Approach(解題思路)**
4. **Code(主要使用 C++ )**
5. **Trace 範例**
6. 相關題目與延伸概念
7. 補充:語法&注意事項
ps. 內容會借助 AI 工具
大家好,我是 Hesta!此系列會用 C++ 刷 leetcode,並訓練自己的 coding 題面試能力。用 REACTO 的方式撰寫,記錄一下解題思路、自己...
題目連結(https://leetcode.com/problems/two-sum/description/) Given an array of integ...
題目連結(https://leetcode.com/problems/merge-two-sorted-lists/description/)You are g...
題目連結(https://leetcode.com/problems/binary-search/description/) Given an array of...
題目連結(https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) You are giv...
題目連結(https://leetcode.com/problems/symmetric-tree/description/?envType=problem-l...
題目連結(https://leetcode.com/problems/path-sum/) Given the root of a binary tree an...
題目連結(https://leetcode.com/problems/summary-ranges/description) You are given a s...
題目連結(https://leetcode.com/problems/longest-substring-without-repeating-character...
題目連結(https://leetcode.com/problems/climbing-stairs/description) You are climbing...