← Return

189. Rotate ArrayMedium

Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.