| | |
binary search trees
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
>I am having trouble understanding what a successor is.
A successor is the node with the next highest value.
In this tree, the successor of each node is the next node that would be given in an inorder traversal. For example, the successor of 2 is 3, but the successor of 3 is 4. The successor of 5 is 6, but the successor of 6 is 7. In this way, the successor doesn't refer to the structure of the tree, but rather the contained values. The successor could be right next to the node in question or several branches away, up or down the tree.
A successor is the node with the next highest value.
6 3 8 2 5 7 9 4
I'm here to prove you wrong.
![]() |
Similar Threads
- binary search trees (Java)
- please help me: build a binary search tree by Lisp (Legacy and Other Languages)
- Binary Search Trees (C)
- Binary search tree removal (C++)
- Help with Tertiary trees?!?! (Java)
Other Threads in the Computer Science Forum
- Previous Thread: help me please....
- Next Thread: Programming Language Design Help
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bletchleypark bomb business cern codebreaker compiler computer computerscience computertrackingsoftware connect conversion csc dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea internet iphone ipod itcontracts jobs kindle laser laws lsmeans mainframes marketing mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles rasterizer research sam-being-cute sas science software spying stephenfry study supercomputer sweden technology textfield turing turingtest two'scompliment uk virus ww2






