//This is what we are asked to print in the assignment of Binary Search Trees.The Nodes are printed like:
F
+-- D
| +-- NULL
| \-- NULL
\-- R
+-- P
| +-- M
| | +-- NULL
| | \-- N
| | +-- NULL
| | \-- NULL
| \-- NULL
\-- V
+-- NULL
\-- NULL
/*But I am not able to print "|".
Please help.
I have printed the bst like:*/
F
+-- D
+-- NULL
\-- NULL
\-- R
+-- P
+-- M
+-- NULL
\-- N
+-- NULL
\ -- NULL
\-- NULL
\-- V
+-- NULL
\-- NULL
techie929 0 Junior Poster in Training
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
techie929 0 Junior Poster in Training
techie929 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.