4 ms·
All good, just a nitpick: You don't need a unique parent to have a tree. You don't even need directed edges. :) The purest definition of a tree graph is "a g
by Deestan 15y ago
All good, just a nitpick: You don't need a unique parent to have a tree. You don't even need directed edges. :)
The purest definition of a tree graph is "a graph with no cycles".
- sesqu 15y agoWe use different definitions. My trees are acyclic connected graphs with one root.