Rotate Array (旋轉陣列) ... class Solution { public: void rotate(vector<int>& nums, int k) { int n=nums.size(); if(nums.empty()||(k=k%n)==0) ...
確定! 回上一頁