โ† Increff questions

Spread of infection in a binary tree

Filed under Increff

The question

Given a binary tree, a root, and a leaf node where an infection starts and spreads to parents and children in 1 unit of time, find the minimum time for the infection to reach all nodes.

No write-up yet. Related questions below have one.

Related Increff questions

Collected from public candidate posts and coding forums. Updated Nov 2026.