2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 19
2024-08-28
451
0
100. Same Tree 题目描述: 給定兩個二元樹的根節點 p 和 q,編寫一個函數來檢查它們是否相同。如果這兩棵樹在結構上完全相同,並且所有對應的節點的...
Day 10
2024-09-10
451
0
題目 2807. Insert Greatest Common Divisors in Linked List難度: 中等偏易 題意 給定一串聯鏈結head,在...
Day 26
2024-10-10
450
0
解題程式碼 const isPalindrome = (s) => s === s.split('').reverse().join(''); var...
Day 20
2024-10-04
450
0
今天來解YKL21(UVA10922):2 the 9s 2 the 9s 主要是判斷輸入是不是9的倍數如果是的話,再計算 9-degree EX:input...
Day 15
2024-09-29
448
0
原文題目 Given an integer array nums and an integer k, return the k most frequent el...
Day 18
2024-10-02
448
0
Deep clone 又稱深複製,相對淺複製僅是將物件的第一層複製,深複製則是將物件的所有層級都複製一份,深複製當遇到巢狀物件或是陣列時,就會進行深層的遍歷,將...