Closed ghing closed 12 years ago
Previous implementation would return True for a node in the middle of a graph, that is a node that is was neither a leaf nor a root. This wasn't correct as such a node has both children and ancestors.
Previous implementation would return True for a node in the middle of a graph, that is a node that is was neither a leaf nor a root. This wasn't correct as such a node has both children and ancestors.