Topological Sort - Minimum Height Trees (Centroid by Trimming)
Given
n = 4 and edges = [[0,1],[1,2],[1,3]], what nodes will be returned as roots of Minimum Height Trees using the leaf trimming algorithm?