Domanda di colloquio di Grainger

Leetcode question was given .