Input: [1, 1]
Isn't this wrong?
It says It doesn't matter what you leave beyond the new length.
It doesn't matter what you leave beyond the new length.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.