#94. shiftLeft
shiftLeft
Background
Description
Return an array that is "left shifted" by one -- so {6, 2, 5, 3} returns {2, 5, 3, 6}. You may modify and return the given array, or return a new array.
Format
Input
Output
Samples
[6 2 5 3]
[2, 5, 3, 6]
[1 2]
[2, 1]
[1]
[1]
Limitation
1s, 1024KiB for each test case.