Left Rotation:
function rotateLeft(d, arr) {
for(let i=0; i < d; i++){
arr.push(arr.shift());
}
return arr;
}
For further actions, you may consider blocking this person and/or reporting abuse
Left Rotation:
function rotateLeft(d, arr) {
for(let i=0; i < d; i++){
arr.push(arr.shift());
}
return arr;
}
For further actions, you may consider blocking this person and/or reporting abuse
Alessio -
João Costa -
Hamidreza Mahdavipanah -
Velan<> -
Top comments (0)