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
Dharmendra Kumar -
Imam Uddin -
Michael Andreuzza -
Ellis -
Top comments (0)