AlgoMaster Logo

Centroid Decomposition

n=7,edges=[[0,1],[1,2],[1,3],[3,4],[3,5],[5,6]]
0 / 28
algomaster.io
Step:Start: Centroid Decomposition of the tree