+ 1
How to know that a binary tree have full nodes or not ?
Full nodes means that a node containing two children
1 Resposta
+ 2
You check if the left and right node are not equal to nullptr :)
If they point to nothing that means it is empty, so if they don't point to nothing they contain something.