How to print a binnary tree in structural form? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to print a binnary tree in structural form?

I want to visualize the binnary tree after creating and inserting nodes suggest me an understandable algorithm for that

14th Apr 2020, 5:27 AM
Mangal Verma
Mangal Verma - avatar
1 Answer
0
look here, it's in Java but you'll understand the main idea for sure. https://stackoverflow.com/questions/4965335/how-to-print-binary-tree-diagram/4973083#4973083
14th Apr 2020, 7:24 AM
John Robotane
John Robotane - avatar