You are viewing a single comment's thread. Return to all comments →
Javascript
function rotateLeft(d, arr) { for(let i=0;i<d;i++){ arr.push(arr.shift()) } return arr }
Seems like cookies are disabled on this browser, please enable them to open this website
Left Rotation
You are viewing a single comment's thread. Return to all comments →
Javascript