🛠️ Steven Gong

Search

SearchSearch
  • Centroid Decomposition
  • Related
Sep 13, 2024 · 1 min read · 19 views · 1 in the last 30 days

Where readers are reading from

FijiTanzaniaWestern SaharaCanadaUnited States of America · 0 readersKazakhstanUzbekistanPapua New GuineaIndonesiaArgentinaChileDemocratic Republic of the CongoSomaliaKenyaSudanChadHaitiDominican RepublicRussiaThe BahamasFalkland IslandsNorwayGreenlandFrench Southern and Antarctic LandsEast TimorSouth AfricaLesothoMexicoUruguayBrazilBoliviaPeruColombiaPanamaCosta RicaNicaraguaHondurasEl SalvadorGuatemalaBelizeVenezuelaGuyanaSurinameFranceEcuadorPuerto RicoJamaicaCubaZimbabweBotswanaNamibiaSenegal · 0 readersMaliMauritaniaBeninNigerNigeriaCameroonTogoGhanaIvory CoastGuineaGuinea-BissauLiberiaSierra LeoneBurkina FasoCentral African RepublicRepublic of the CongoGabonEquatorial GuineaZambiaMalawiMozambiqueEswatiniAngolaBurundiIsraelLebanonMadagascarPalestineThe GambiaTunisiaAlgeriaJordanUnited Arab EmiratesQatarKuwaitIraqOmanVanuatuCambodiaThailandLaosMyanmarVietnamNorth KoreaSouth KoreaMongoliaIndiaBangladesh · 0 readersBhutanNepalPakistan · 0 readersAfghanistanTajikistanKyrgyzstanTurkmenistanIranSyriaArmeniaSwedenBelarusUkrainePolandAustriaHungaryMoldovaRomania · 0 readersLithuaniaLatviaEstoniaGermanyBulgariaGreeceTurkeyAlbaniaCroatiaSwitzerlandLuxembourgBelgiumNetherlandsPortugalSpainIrelandNew CaledoniaSolomon IslandsNew ZealandAustraliaSri LankaPeople's Republic of China · 0 readersTaiwanItalyDenmarkUnited KingdomIcelandAzerbaijanGeorgiaPhilippinesMalaysiaBruneiSloveniaFinlandSlovakiaCzech RepublicEritreaJapanParaguayYemenSaudi ArabiaTurkish Republic of Northern CyprusCyprusMoroccoEgyptLibyaEthiopiaDjiboutiSomalilandUgandaRwandaBosnia and HerzegovinaNorth MacedoniaSerbiaMontenegroKosovoTrinidad and TobagoSouth SudanSelect a country to explore · Last 30 days
Singapore1
China0
United States0
Bangladesh0
Pakistan0
Romania0
Traffic · last 30 days000Sep 20Sep 30Oct 10Oct 19
views
Traffic · all time012Dec 21Dec 24Dec 27Dec 30Jan 1
views

Centroid Decomposition

A centroid of a tree is defined as a node such that when the tree is rooted at it, no other nodes have a subtree of size greater than 2N​.

Resources

  • https://usaco.guide/plat/centroid?lang=cpp
  • https://codeforces.com/blog/entry/81661 by Colin Galen

Related

Graph View

Backlinks

  • Heavy-Light Decomposition

Created with Quartz, © 2026

  • Blog
  • LinkedIn
  • Twitter
  • GitHub