Meta Interview Question

LC Medium Simple Graph Qns