| | |
How to examine if the tree is full
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
>The last node(s) will always have two free child positions, won't it?
A full tree in this case is one where every non-leaf node has two non-null children. For example:
is a full tree, but
is not because b is neither a leaf nor has two non-null children.
A full tree in this case is one where every non-leaf node has two non-null children. For example:
C Syntax (Toggle Plain Text)
a / \ b c / \ / \ d e f g
C Syntax (Toggle Plain Text)
a / \ b c \ / \ e f g
I'm here to prove you wrong.
![]() |
Similar Threads
- Word Association Game (Posting Games)
- problem in creating a tree (C)
- Question about binary tree & heaps (Computer Science)
- seeking your expert advices (Viruses, Spyware and other Nasties)
Other Threads in the C Forum
- Previous Thread: find larget number in an array
- Next Thread: USB webcam support in C(running under LINUX)
| Thread Tools | Search this Thread |
#include * ansi append array arrays asterisks bash binarysearch centimeter changingto char character convert copyimagefile cprogramme creafecopyofanytypeoffileinc createprocess() database dynamic execv fgets file floatingpointvalidation fork framework function getlogicaldrivestrin givemetehcodez grade gtkwinlinux hacking histogram ide inches include infiniteloop initialization input interest intmain() iso kernel keyboard kilometer km license linked linkedlist linux list lists looping lowest matrix meter microsoft number oddnumber open opendocumentformat openwebfoundation overwrite owf pdf pointer pointers posix power probleminc process program programming radix recursion recv recvblocked research reversing segmentationfault sequential single socket socketprogramming standard strchr string suggestions systemcall test testing threads turboc unix urboc user variable wab whythiscodecausesegmentationfault windowsapi






