Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The number of children can be anything, it's two children for a binary tree. Each node except one node must only have one parent, which isn't true if two or more nodes share one or more children.

And, yes, in theory this adds cycles which aren't allowed. However, since class dependencies are better represented as directed connections (which aren't usually used for trees in CS terms), it isn't a true cycle.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: