Graph Problem which was asked to me in a coding round
You are given a Undirected graph of N vertices and M edges edges are given to you in a format [Ai,Bi] and there are total m edges
You are given a Undirected graph of N vertices and M edges edges are given to you in a format [Ai,Bi] and there are total m edges