Uncategorized
A holding area for graph problems that don't yet belong to a named pattern section. As patterns emerge, these get promoted into their own sections.
1791. Find Center of Star Graph
Easy·
3 Approaches
Degree Counting
O(V + E)O(V)
First Repeat Wins
O(1)O(1)
Read Two Edges
O(1)O(1)