Comment by prateek_mir
11 years ago
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-----|
11 years ago
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-----|
No comments yet
Contribute on Hacker News ↗