You are viewing a single comment's thread. Return to all comments →
if(head == null) { return; } ReversePrint(head.next); System.out.println(head.data); This code is more optimized and effiecient.
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 →