Hey Support, Could you please let me know why is the below code not updatig the nums array in leetcode editor?
nums=nums[-k:]+nums[0:len(nums)-k]