You are viewing a single comment's thread. Return to all comments →
C#
static void reversePrint(SinglyLinkedListNode llist) { if (llist.next == null) { if (llist.data != 0) { Console.WriteLine(llist.data); } return; } else { reversePrint(llist.next); Console.WriteLine(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 →
C#