+ Reply to Thread
Results 1 to 2 of 2

Thread: Count number of nodes in a Binary Tree

  1. #1
    Surfer is offline Senior Member
    Join Date
    Mar 2010
    Posts
    321

    Count number of nodes in a Binary Tree

    Write code to find number of nodes in a Binary Tree, you can not use recursion.

    Why we avoid using recursion?

  2. #2
    puspendra Guest
    Can we use stack or queue instead of recursion ??

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Maximum number of binary tree using 3 nodes
    By Surfer in forum Infosys
    Replies: 1
    Last Post: 15th October 2010, 17:42
  2. Swap Binary Tree nodes
    By TopGun in forum Algorithm/Data Structure Questions
    Replies: 1
    Last Post: 16th June 2008, 13:37
  3. Number of possible tree from n nodes
    By TopGun in forum Microsoft
    Replies: 1
    Last Post: 16th June 2008, 12:10

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