TREE TRAVERSAL INORDER METHOD IN JAVA

 /*====================================================================**/  
 public void inorder(TNode temp)  
      {  
           if (temp!=null)  
           {  
                inorder(temp.left);  
                System.out.println(temp.data);  
                inorder(temp.right);  
           }  
           else  
                return;  
      }  
 /*====================================================================**/  

Post a Comment

1 Comments

  1. Well hello there! Did you ever happen to turn to get help to any specific tricks to get more followers for your blog on a regular basis? Thank you so much in advance for your reply.

    ReplyDelete