Domanda di colloquio di Fieldwire

Graph leetcode question in 1-hour LeetCode-style interview