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
Aneeqa Khan -
Mohammad Faisal -
Wewake -
Tilak Thapa -
Top comments (0)