2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
(⑉˙ᗜ˙⑉)嗨,我是wec,今天是DAY 12。 🔎 題目難度與描述 難度:MEDIUM 題目描述: House Robber系列的第三道題目!不同於前兩題的...
ꉂ(ˊᗜˋ*)嗨,我是wec,今天是DAY 11。 🔎 題目難度與描述 難度:MEDIUM 題目描述: 在圍成圓形的社區內且不觸發警報的前提下(不能偷相鄰的兩間...
Day 27
2024-10-11
438
0
解題程式碼 var isNStraightHand = function (hand, groupSize) { const handMap = new M...
Day 27
2024-10-11
479
0
原文題目 Given an array nums of size n, return the majority element. The majority el...
Day 26
2024-10-10
276
0
You are given an integer array banned and two integers n and maxSum. You are cho...
Day 26
2024-10-10
267
0
useRef 是什麼? useRef 是 React 提供的 hook,用來創建一個 可變(mutable)的引用對象,可以用來存取 DOM 元素或保存跨越多次...