Arrays: Left Rotation

  • + 1 comment

    simple is peace

    return arr[d:] +arr[0:d]