iT邦幫忙

鐵人檔案

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

來都來了-涮就涮吧 系列

水水的刷就是涮
悲哀終究還是要面對
即便是髮蒼蒼、視茫茫、齒牙動搖

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

#00

118 Pascal Triangle 題意為給整數 numRows,回傳一個包含前 numRows 層的 Pascal Triangle 的 List。每一層...

2025-09-01 ‧ 由 艾克西猴 分享
DAY 2

#01

重新調整從 Grind 75 開始,主要還是用 kotlin, 不過因未來會用到 java, python 所以也來複習一下吧。 1.Two Sum Ar...

2025-09-02 ‧ 由 艾克西猴 分享
DAY 3

#02

21.Merge Two Sorted Lists Linked List, Easy introduction 合併兩個升序鏈表,並返回合併後的鏈表頭節點...

2025-09-03 ‧ 由 艾克西猴 分享
DAY 4

#03

121 Best Time to Buy and Sell Stock 給定一組股票價格 prices[i],i 代表第 i 天的價格,你只能在某一天買入並在...

2025-09-04 ‧ 由 艾克西猴 分享
DAY 4

#04

125 Valid Palindrome 給定字串,判斷它是否為迴文,僅考慮英數字元,忽略大小寫。 Kotlin, Two Pointers fun isP...

2025-09-06 ‧ 由 艾克西猴 分享
DAY 4

#05

226 Invert Binary Tree 翻轉二元樹(左右子樹交換)。 Kotlin, DFS class TreeNode(var `val`: In...

2025-09-06 ‧ 由 艾克西猴 分享
DAY 4

#06

242 Valid Anagram 判斷兩個字串是否為字母異位詞(相同字母但排列不同)。 kotlin class Solution { fun i...

2025-09-07 ‧ 由 艾克西猴 分享
DAY 4

#07

704 Binary Search 在排序陣列中找到目標值,若存在回傳 index,不存在回傳 -1。 kotlin class Solution {...

2025-09-08 ‧ 由 艾克西猴 分享
DAY 4

#08

733 Flood Fill 給一張圖像矩陣,從一個起點開始把所有相鄰(上下左右)的同色區域改成新的顏色。 kotlin, DFS class Soluti...

2025-09-15 ‧ 由 艾克西猴 分享
DAY 4

#09

Lowest Common Ancestor of a Binary Search Tree thoughts BST 性質:左子樹 < root &l...

2025-09-16 ‧ 由 艾克西猴 分享