2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 12
2024-09-24
233
0
今天來講第12題 題目 題目翻譯 使用羅馬數字來表示整數 解題思路 初始化結果字串: 定義一個空字串 str,用來儲存轉換結果的羅馬數字。 處理數...
Problem : You are given an m x n integer matrix matrix with the following two pr...
Day 12
2024-09-26
231
0
111. Minimum Depth of Binary Tree 題目要求我們找到二元樹的最小深度。 而最小深度的定義是:從根節點到最近葉子節點的最短路徑上的...
今天也繼續加油、繼續刷刷刷~題目1:創建列表並打印 -列表是一組有序的元素,可以存放各種數據-我們可以創建一個列表,然後用 print() 函數把它顯示出來 舉...
Day 18
2024-10-02
231
0
Given an integer array nums, return the maximum result of nums[i] XOR nums[j], w...
The product difference between two pairs (a, b) and (c, d) is defined as (a * b)...