Loading problem…
A connected undirected network has n servers labeled 0 through n - 1. Each pair [u, v] in connections is a bidirectional connection.
Return every connection whose removal would split the network into disconnected groups. Return edges in any order, and either endpoint order is accepted. There are no self-loops or repeated edges.
Example 1:
Example 2: