Pinterest Interview Question

it was a graph problem leetcode problem