2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 26
2024-09-07
457
0
Given an unsorted integer array nums. Return the smallest positive integer that...
Write an algorithm to determine if a number n is happy.A happy number is a numb...
前言 本日進度: [x] 6 題 general skills [x] 【成大資安社社課】WEB 1 - 到 Lab - Robots、gitleak...
解題程式碼 var pathSum = function (root, targetSum) { if (!root) return []; const...
112. Path Sum [Easy]### 在二元樹中,判斷是否存在一條從根到葉子的路徑,路徑上節點值的總和等於 targetSum。 class Solu...
題目 1367. Linked List in Binary Tree難度: 中等偏難 題意 給定一串連鏈接head及一二元樹root,求head是否存在於二元...