2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 19
2024-10-03
595
0
這次我們來解一道二元樹的題目:Diameter of Binary Tree,這道題目的關鍵在於找到二元樹中兩個節點之間的最長路徑,這段路徑稱為「直徑」。 接...
Day 29
2024-09-12
595
0
944. Delete Columns to Make Sorted tags: Easy、Sort You are given an array of n...
嘗試這個禮拜開始每天寫兩題LeetCode~ 1290. Convert Binary Number in a Linked List to Integer t...
Day 25
2024-10-09
588
0
原文題目Given two strings s and p, return an array of all the start indices of p's a...
21. Merge Two Sorted Lists 題目描述: 給定兩個升序Linked List l1 和 l2,將它們合併為一個升序Linked Lis...
Day 18
2024-10-02
582
0
鏈結串列(Linked Lists)是一種常見的資料結構,用來動態儲存元素。鏈結串列的元素是以節點的形式彼此連結,每個節點包含資料與指向下一個節點的指標。根據節...