• + 1 comment
    if(head == null)
        {
        return;
    }
    ReversePrint(head.next);
    System.out.println(head.data);
    
    This code is more optimized and effiecient.