i am,too! can you tell me why?
Sorry,I don't know why?I am sad
list is mutable... it says return nothing in the comment block
nums[:]=nums[lenth-k:lenth]+nums[0:lenth-k] is right haha!
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.