Problem 1600 · Medium
Keep each family’s children in birth order and walk the tree from the king, skipping anyone who has died.
Open the interactive visualisation