The problem revolves around the concept “Bridges” in the graph and concept of “DFS Tree”
Link to the problem : Problem - 118E - Codeforces
Link to the solution : - YouTube
you can watch video for DFS Tree and Finding Bridges in this playlist : null - YouTube
Thank you guys for your precious time.