Critical Connections in a Network
Description:
You are given a network of n servers labeled from 0 to n - 1. These servers are connected by a series of undirected connections, where each connection links two servers. The network is guaranteed to be fully connected initially.
A critical connection is a connection that, if removed, would disconnect some servers from the rest of the network (making it impossible for some servers to communicate with others). In graph theory, this is known as a bridge.
Your task is to find all the critical connections in the network and return them in any order.