Arrays: Left Rotation

  • + 0 comments

    def rotLeft(a, d): # Write your code here return a[d:]+a[0:d]