iT邦幫忙

鐵人檔案

2025 iThome 鐵人賽
回列表
自我挑戰組

Leetcode 小白練功坊 系列

此系列會用 C++ 刷 leetcode,並訓練自己的 coding 題面試能力,用 REATO 的方式撰寫。
共分成以下部分:

1. **Repeat(題目重複確認)**
2. **Examples(舉例確認理解)**
3. **Approach(解題思路)**
4. **Code(主要使用 C++ )**
5. **Trace 範例**
6. 相關題目與延伸概念
7. 補充:語法&注意事項

ps. 內容會借助 AI 工具

參賽天數 22 天 | 共 22 篇文章 | 1 人訂閱 訂閱系列文 RSS系列文
DAY 1

[DAY1] 系列前導: REACTO 形式與連載簡介

大家好,我是 Hesta!此系列會用 C++ 刷 leetcode,並訓練自己的 coding 題面試能力。用 REACTO 的方式撰寫,記錄一下解題思路、自己...

2025-09-14 ‧ 由 hesta 分享
DAY 2

[DAY2] 1. Two Sum

題目連結(https://leetcode.com/problems/two-sum/description/) Given an array of integ...

2025-09-15 ‧ 由 hesta 分享
DAY 3

[DAY3] 21. Merge two sorted linked list

題目連結(https://leetcode.com/problems/merge-two-sorted-lists/description/)You are g...

2025-09-16 ‧ 由 hesta 分享
DAY 4

[DAY4] 704. Binary Search

題目連結(https://leetcode.com/problems/binary-search/description/) Given an array of...

2025-09-17 ‧ 由 hesta 分享
DAY 5

[DAY5] 121. Best Time to Buy and Sell Stock

題目連結(https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) You are giv...

2025-09-18 ‧ 由 hesta 分享
DAY 6

[DAY6] 101. Symmetric Tree

題目連結(https://leetcode.com/problems/symmetric-tree/description/?envType=problem-l...

2025-09-19 ‧ 由 hesta 分享
DAY 7

[DAY7] 112. Path Sum

題目連結(https://leetcode.com/problems/path-sum/) Given the root of a binary tree an...

2025-09-20 ‧ 由 hesta 分享
DAY 8

[DAY8] 228. Summary Ranges

題目連結(https://leetcode.com/problems/summary-ranges/description) You are given a s...

2025-09-21 ‧ 由 hesta 分享
DAY 9

[DAY9] 3. Longest Substring Without Repeating Characters

題目連結(https://leetcode.com/problems/longest-substring-without-repeating-character...

2025-09-22 ‧ 由 hesta 分享
DAY 10

[DAY10] 70. Climbing Stairs

題目連結(https://leetcode.com/problems/climbing-stairs/description) You are climbing...

2025-09-23 ‧ 由 hesta 分享