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
Zachnology -
Dipak Ahirav -
MINI JAIN -
Matt Lewandowski -
Top comments (0)