| | |
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 bizarre bletchleypark blogging bomb business cern codebreaker compiler computer computers computerscience computertrackingsoftware conversion csc dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod itcontracts jobs kindle laser laws linkbait lsmeans mainframes marketing mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles programming rasterizer research sam-being-cute sas science security sex simulation software spying study supercomputer supercomputing sweden technology textfield turing turingtest two'scompliment uk virus ww2






