Y
Hacker News
new
|
ask
|
show
|
jobs
by
prateek_mir
4022 days 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-----|