2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 22
2024-10-06
245
0
DAY 22 試題 問題描述 給定一個升序排列的整數陣列 nums,該陣列可能在未知的樞軸點進行了旋轉,例如 [0,1,2,4,5,6,7] 可能在樞軸點 3...
Day 19
2024-10-03
243
0
Given a positive integer n, you can apply one of the following operations: If n...
這題要我在一個字串 s 中,找到所有起始索引,讓從這些索引開始的子字串,剛好是 words 中所有字串的排列組合串連而成,困難點在於,怎樣有效的找到所有可能的子...
這題要生成一個數組的所有可能排列,且每個數字都是唯一的,生成排列問題通常涉及遞迴或迭代的方法生成所有可能的數組順序,典型的回溯問題,適合用來處理排列組合。題目要...
Day 26
2024-10-10
242
0
Problem : You are given an integer array nums. You are initially positioned at t...
Day 12
2024-09-26
242
0
Problem : Given an array of integers temperatures represents the daily temperatu...