Arrays: Left Rotation

  • + 4 comments

    If u are using javascript, this will work var b = a.splice(0, d); a = a.concat(b);