Sponsored
Use these hints if you're stuck. Try solving on your own first.
The center is the only node that has more than one edge.
The center is also connected to all other nodes.
Any two edges must have a common node, which is the center.
Solve with full IDE support and test cases