• + 0 comments
    def reverseArray(a):
        # Write your code here
        if len(a) == 0:
            return []
        return [a[-1]] + reverseArray(a[:-1])