You are viewing a single comment's thread. Return to all comments →
Golang Solution with recursive:
func reversePrint(llist *SinglyLinkedListNode) { if llist.next != nil { reversePrint(llist.next) } fmt.Println(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 →
Golang Solution with recursive: