2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 11
2024-09-25
675
0
這題是一個經典的鏈結串列問題,讓我們一起來輕鬆破解兩個鏈結串列的交集點吧!不需要複雜的數學或資料結構,跟著步驟一步步來就能搞定! 160. Interse...
Day 11
2024-09-25
674
0
You are given a 0-indexed 2D array grid of size 2 x n, where grid[r][c] represen...
Day 17
2024-08-31
674
0
2859. Sum of Values at Indices With K Set Bits tags: Easy、Bitwise You are given...
Day 27
2024-10-11
672
0
解題程式碼 var isNStraightHand = function (hand, groupSize) { const handMap = new M...
題目:給定兩個字串 text1 和 text2,回傳兩個字串的最長公共子序列的長度。 子序列是指一個字串中刪除某些(或不刪除任何)字元後剩下的字元序列,並且順...
在演算法的世界裡,解題不僅僅是為了得到結果,更是如何在高效且優雅的方式中解決問題。今天我們要探討的是經典的 Leetcode 題目——三數之和。這道題考驗我們...