• + 0 comments

    Golang Solution with recursive:

    func reversePrint(llist *SinglyLinkedListNode) {
        if llist.next != nil {
            reversePrint(llist.next)
        }
        fmt.Println(llist.data)
    }