Arrays: Left Rotation

  • + 0 comments

    one line solution with Python 3:

    return(a[d:]+a[:d])