You are viewing a single comment's thread. Return to all comments →
def reverseArray(a): temp = [] size = len(a) for i in range(size-1, -1, -1): temp.append(a[i]) return temp
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays - DS
You are viewing a single comment's thread. Return to all comments →
Simple Python Solution