Problem 1257 · Medium

Smallest Common Region

Mark the chain of regions above one name, then climb from the other name until it lands on a marked region.

Open the interactive visualisation