Results 1 to 2 of 2

Thread: Algorithm for counting number of nodes in a binary tree

  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Post Algorithm for counting number of nodes in a binary tree

    Can anyone please help me with the algorithm to count the number of nodes in a binary tree?

  2. #2
    Join Date
    Nov 2009
    Posts
    446

    Re: Algorithm for counting number of nodes in a binary tree

    Hello,
    Have you tried some thing at your side, if you can post the code then it would really help us solve your problem. Also, what is the error you are getting when you try to compile the code. Just for information nodes in a binary tree have two directions one on the right and the other on the left. I think the left has the low value and the right has the high values. I guess you know that these all are related to data-structures and therefore the code is not quite easy, so, iI request you to post your code first .

Similar Threads

  1. Replies: 3
    Last Post: 04-01-2011, 01:25 AM
  2. JAVA binary tree
    By Daren in forum Software Development
    Replies: 4
    Last Post: 29-09-2009, 12:17 AM
  3. Dictionary with a binary tree
    By Lord in forum Software Development
    Replies: 4
    Last Post: 01-05-2009, 08:25 PM
  4. Algorithm to count in binary
    By Zool in forum Software Development
    Replies: 3
    Last Post: 28-04-2009, 01:22 PM
  5. How to Count nodes in Binary Tree ?
    By Harshini in forum Software Development
    Replies: 4
    Last Post: 23-04-2009, 10:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,035,295.50036 seconds with 16 queries