Microsoft Interview Question

DFS shortest bridge problem from leetcode ( medium )