Practice questions for Linked List and Recursion |
static void fun2 ( Node head ) { if ( head == null ) { return ; } System . out . print ( head . data + " ▁ " ) ; if ( head . next != null ) { fun2 ( head . next . next ) ; } System . out . print ( head . data + " ▁ " ) ; }