Search:
Forum
Beginners
Print the elements of a given perfectly
Print the elements of a given perfectly balanced tree
May 26, 2021 at 8:00am UTC
sergeyutkin221
(21)
Hello everyone. I need your help, it's very important for me, please help me.
Print the elements of a given perfectly balanced tree in descending order
May 26, 2021 at 9:36am UTC
salem c
(3715)
So where is your tree?
Where is your attempt?
May 26, 2021 at 9:42am UTC
seeplus
(6628)
To print in ascending order (assuming the tree is ordered as well as balanced), you would traverse left - root- right. So to print in descending order you would traverse right - root - left
Last edited on
May 26, 2021 at 9:42am UTC
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs