You are viewing a single comment's thread. Return to all comments →
public static void reversePrint(SinglyLinkedListNode llist) { // Write your code here
if(llist!=null) { reversePrint(llist.next); System.out.println(llist.data); } }
Quick & Easy Using recursion
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 →
public static void reversePrint(SinglyLinkedListNode llist) { // Write your code here
Quick & Easy Using recursion