I have a tree data structure that is L levels deep each node has about N nodes. I want to work-out the total number of nodes in the tree. To do this (I think) I
If you know nothing else but the depth of the tree then your only option for working out the total size is to go through and count them.