30:00
Given an integer array nums, rotate the array to the right by k steps, where k is non-negative. Do it in-place with O(1) extra space.
1≤nums.length≤1051 \leq \text{nums.length} \leq 10^51≤nums.length≤105
−231≤nums[i]≤231−1-2^{31} \leq \text{nums}[i] \leq 2^{31} - 1−231≤nums[i]≤231−1
0≤k≤1050 \leq k \leq 10^50≤k≤105
Rotate array to the right by 3 steps
k = 3
normalized k = 3