Problem 1600 · Medium

Throne Inheritance

Keep each family’s children in birth order and walk the tree from the king, skipping anyone who has died.

Open the interactive visualisation