Problem 1377 · Hard

Frog Position After T Seconds

Split the frog probability evenly among unvisited children level by level, and stop when the time runs out.

Open the interactive visualisation