Domanda di colloquio di Google DeepMind

Typical Leetcode questions, using simple algorithms