Topological Sort - Minimum Height Trees (Centroid by Trimming)
Examine the following code snippet for finding Minimum Height Trees. Which line contains a subtle bug that causes incorrect results on single-node trees?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions