Search
⌘K

Leetcode 1791. Find Center of Star Graph

Given the list of edges of an undirected star graph, find the unique center node that is connected to every other node — equivalently, the node that appears in all (or most) edge pairs.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.