Share

Share this URL with your friends and let them edit or delete the document.

Permissions

gobin
# Find Center of Star Graph (LeetCode 1791)

## Approach
In a star, the center appears in every edge; compare the first two edges' endpoints.

## Tip
Say the invariant out loud before coding so the interviewer sees your structure.

Interview prep notes. Rehearse the walk-through with [AI interview assistant](https://www.linkjob.ai/).