No BSD License  

Highlights from
meet the family

image thumbnail
from meet the family by nathan q
Visualisation of a family tree in the programming contest.

findNdesc(parents,children,i)
function nDesc = findNdesc(parents,children,i)

nChild=numel(children{i});
nDesc = nChild;
for j=1:nChild
    nDesc = nDesc + findNdesc(parents,children,children{i}(j)) ;
end
return

Contact us at files@mathworks.com