You are viewing a single comment's thread. Return to all comments →
Good approach, here's my Java version of it -
void ReversePrint(Node head) { if(head!=null) { ReversePrint(head.next); System.out.println(head.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 →
Good approach, here's my Java version of it -