star-center-two-edge-sufficiency

Status: IN

The center of a star graph is uniquely determined by inspecting only the first two edges, since the center must appear in every edge; `find_center` runs in O(1) time regardless of graph size.

Source: entries/2026/06/06/find-center-of-star-graph-solution.md

JSON