Airbnb Interview Question

Leetcode hard level problem on graphs