Find the minimum time to burn an entire undirected tree.
Unlock detailed company stats for this questionUpgrade
You are given an undirected tree. Find the minimum time taken to burn the entire tree. You can start a fire from any node, and from one node the fire spreads to all its adjacent nodes in 1 time unit.
Also asked as · Find the minimum time to burn a binary tree from a target node.
Community answers
No answers contributed by the community yet.
Related questions
Minimum Time to Finish the Race.Find the diameter of an acyclic undirected graph (a tree).Find the minimum time for a message to reach every employee.Related courses

Course

Course
Course

