1192. Critical Connections in a Network (H)
Input: n = 4, connections = [[0,1],[1,2],[2,0],[1,3]]
Output: [[1,3]]
Explanation: [[3,1]] is also accepted.Input: n = 2, connections = [[0,1]]
Output: [[0,1]]Solution:
Last updated
Input: n = 4, connections = [[0,1],[1,2],[2,0],[1,3]]
Output: [[1,3]]
Explanation: [[3,1]] is also accepted.Input: n = 2, connections = [[0,1]]
Output: [[0,1]]Last updated