You are viewing a single comment's thread. Return to all comments →
My Javascript Code:
function rotateLeft(d, arr) { // Write your code here let res=[...arr] for(let i=0;i<d;i++){ res.push(res.shift()) } return res }
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 →
My Javascript Code: