Write down how will you create a binary Tree

Showing Answers 1 - 2 of 2 Answers

John

  • Mar 15th, 2005
 

This article introduces the basic concepts of binary trees, and then works through a series of practice problems with solution code in C/C++ and Java. Binary trees have an elegant recursive pointer structure, so they are a good way to learn recursive pointer algorithms. http://cslibrary.stanford.edu/110/BinaryTrees.html

  Was this answer useful?  Yes

RAAJKUMAR.S

  • May 18th, 2017
 

This is the code for binary tree in java

Code
  1. span style="color: #0000ff;">"Inserted at root  ""Current Left and Right        "+curr.left+"   ""Inserted Left ""Inserted Right        "

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions