5 ms·
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-----|
by prateek_mir 11y 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-----|