You are viewing a single comment's thread. Return to all comments →
I got a timeout error for TC#8 and #9 for the same logic in Python :(
i got time out for tc#8 in c why??????
Iterate over array only once
No loops. Just split and reconnect.
def rotLeft(a, d):
b = 
b = a[d:len(a)] + a[0:d]