Problem 1791 · Easy
Find the center of a valid undirected star graph.
Open the interactive visualisation