2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 25
2024-10-09
375
0
字典樹(Trie) 是一種專門用來處理字串(單字)的樹狀結構,特別適合解決字串(單字)集合中的「前綴匹配」問題。它的每個節點代表一個字母,並且從根節點到某個葉節...
Day 21
2024-09-02
374
0
You are given an array of non-overlapping intervals intervals where intervals[i...
解題程式碼 var findMinHeightTrees = function (n, edges) { if (n === 1) return [0];...
Day 28
2024-10-12
374
0
useContext useContext 是 react 提供的一個 hook,可以讓我們透過讀取和訂閱元件中 context 共享元件之間的資料,主要是用來...
Day 15
2024-08-15
373
0
EasyRelated Topics: Array / GreedyLeetCode Source 解題想法 題目主要是希望透過 5 10 20 來交易價值...
這幾天我一直在研究 Python 的 collections 模組。裡面的工具非常豐富,但也容易讓人迷失。今天,我們將深入探討一個特別有用的資料結構:Order...