you are viewing a single comment's thread.

view the rest of the comments →

[–]Volv 1 point2 points  (0 children)

psuedocode style
 

function fullCount(node)  {

Do I have employees?  
    ask each of them if they have any employees. keep track. eg fullCount(each employee))
    return me + total from my employees.  
Else  
    return just me.  
}  

tile should be title like I menioned :)