--- id: centroid title: "Centroid Decomposition" author: Benjamin Qi prerequisites: - Silver - Depth First Search description: "?" --- import { Problem } from "../models"; export const metadata = { problems: { general: [ new Problem("CF", "Ciel the Commander", "problemset/problem/321/C", "Easy", false, ["Centroid"]), new Problem("YS", "Frequency Table of Tree Distance", "frequency_table_of_tree_distance", "Hard", false, ["Centroid", "FFT"], ""), new Problem("DMOJ", "Bob Equilibrium", "dmopc19c7p6", "Hard", false, ["Centroid"], "tight time limit"), new Problem("Plat", "At Large", "793", "Very Hard", false, ["Centroid"], "tight time limit"), ] } }; (another DMOJ prob?) ### Tutorial - [GeeksForGeeks](http://www.geeksforgeeks.org/centroid-decomposition-of-tree/) - [Carpanese](https://medium.com/carpanese/an-illustrated-introduction-to-centroid-decomposition-8c1989d53308) ### Problems