iT邦幫忙

2025 iThome 鐵人賽

DAY 8
0

今日小前言:
沒想到在這項鐵人賽中,我已經持續一個禮拜,來到了第八天~進續保持呀!!

題目介紹

  • 編號:189
  • 類型:Array, Two Pointers
  • 難度:medium
  • 題目連結:https://leetcode.com/problems/rotate-array/description/
  • 描述:給定一個整數陣列nums,將陣列向右旋轉k步,其中k是非負數。

解題成功圖片:
https://ithelp.ithome.com.tw/upload/images/20250922/20178840CNpGUgDmvF.jpg

notion截圖:
https://ithelp.ithome.com.tw/upload/images/20250922/20178840qPJ66Y45w9.jpg
https://ithelp.ithome.com.tw/upload/images/20250922/20178840fVwxEgAsvP.jpg


上一篇
<DAY7> - Squares of a Sorted Array
系列文
「用 LeetCode 挑戰 30 天,打造扎實的程式邏輯力」- 結合Notion記錄學習筆記8
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言