You are given a network of n
servers numbered from 0
to n - 1
connected by undirected server-to-server connections, where each connection is represented as [a, b]
.
A critical connection is a connection that, if removed, will disconnect the network — making some servers unreachable from others.
Return all such critical connections in any order.
Note: In this problem, servers are treated as nodes of a graph, and connections as undirected edges. The goal is to find all bridges in the graph using Tarjan's Algorithm.