Problem 3241 · Hard

Time Taken to Mark All Nodes

For each start node of a tree, find the time until every node is marked. Odd nodes spread in one time unit and even nodes in two.

Open the interactive visualisation