You are viewing a single comment's thread. Return to all comments →
Python recursion Solution def reversePrint(llist): if llist.next is None: print(llist.data) else: reversePrint(llist.next) print(llist.data)
Seems like cookies are disabled on this browser, please enable them to open this website
Print in Reverse
You are viewing a single comment's thread. Return to all comments →
Python recursion Solution def reversePrint(llist): if llist.next is None: print(llist.data) else: reversePrint(llist.next) print(llist.data)