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

Tree is a graph without any cycles, hence the definition still holds. And yes, you can have multiple roots in a tree, ex:

a --> c <---b ^ d-----|



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

Search: