2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 21
2024-09-04
552
0
144. Binary Tree Preorder Traversal tags: Easy、Tree Given the root of a binary...
Day 22
2024-08-22
551
0
EasyRelated Topics: Bit ManipulationLeetCode Source 解題想法 十進位數字轉成二進制 之後將1轉成0 將0...
解題程式碼 var characterReplacement = function(s, k) { let maxLength = 1; let...
Day 29
2024-10-13
550
0
DAY 29 試題 問題描述 給定一個 n x n 的二維矩陣,代表一張圖片。請將圖片「順時針旋轉 90 度」。旋轉需要在原地進行,也就是說,必須直接修改輸入...
Day 11
2024-08-20
548
0
58. Length of Last Word 題目描述: 給定一個只包含大小寫字母和空格 ' ' 的字符串 s,返回其最後一個單詞的長度。如果字符串尾部包含空...
Day 10
2024-08-24
547
0
2848. Points That Intersect With Cars tags: Easy、Pointer You are given a 0-inde...