Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i need help with this problem with tree

Status
Not open for further replies.

yups

Programmer
Mar 16, 2010
1
RO
9

7 11

5 8 10 14

4 6 12 15


So we have this binary tree and have to move an element (eg 14) on a position higher up in the hierarchy (eg instead of 11)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top