Question d’entretien chez Fieldwire

Graph leetcode question in 1-hour LeetCode-style interview