binary trees

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajay1989
    New Member
    • Mar 2010
    • 2

    binary trees

    Write a program which takes as input parameter a value, searches if the node in present in a tree.
    If the node is present the program should return:
    a) all the ancestors of the node
    b) all the descendants of the node.
  • ajay1989
    New Member
    • Mar 2010
    • 2

    #2
    binary trees

    Write a program which takes a value as input parameter, and displays the depth and height of the node

    Comment

    • bvdet
      Recognized Expert Specialist
      • Oct 2006
      • 2851

      #3
      Your question is too vague. Also, you have not shown any effort to solve the problem. You are going to have to do more than ask for a solution.

      Comment

      Working...