This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
Rooting a tree | Graph Theory
Chapters
How to root a tree at a particular node
Support me by purchasing the full graph theory course on Udemy which includes additional problems, exercises and quizzes not available on YouTube: https://www.udemy.com/course/graph-theory-algorithms
Algorithms repository: https://github.com/williamfiset/algorithms
Rooting tree source code: https://github.com/williamfiset/Algorithms/tree/master/com/williamfiset/algorithms/graphtheory/treealgorithms
Video slides: https://github.com/williamfiset/Algorithms/tree/master/slides
===================================
Practicing for interviews? I have used, and recommend `Cracking the Coding Interview` which got me a job at Google. Link on Amazon: https://amzn.to/3cvMof5
A lot of the content on this channel is inspired by the book `Competitive Programming` by Steven Halim which I frequently use as a resource and reference. Link on Amazon: https://amzn.to/3wC2nix