35/38
Part 7 of 7 · Follow-upsLearn and do

Is it really a tree? Check one parent each, one top, and that the top reaches every node

Input from someone else may not be a tree at all.

Predict

Every node has at most one parent, and exactly one node has none. Can it still fail to be a tree?

Pick an answer above to see the rest