You are viewing a single comment's thread. Return to all comments →
easiest soluation ever
def rotateLeft(d, arr): # easiest soluation ever slice1= arr[:d] slice2= arr[d:] left_rotation = slice2+slice1 return left_rotation
Left Rotation
You are viewing a single comment's thread. Return to all comments →
easiest soluation ever