• + 0 comments

    Here is my recursive call on next node for JAVA

    public static void reversePrint(SinglyLinkedListNode llist) {
        if(llist == null) {
            return;
        }
    
        reversePrint(llist.next);
    
        System.out.println(llist.data);
    }