Given child-to-parent key-value pairs describing a forest, find the size of the largest tree.
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
Given child to parent relationships for a forest, find the root of the largest tree, returning the smallest root on a tie.Find the root node of the largest tree from parent-child associations.Given (child, parent) pairs, find the root of the tree with the most nodes, breaking ties by the higher ID.Related courses

Course

Course
Course
