Google DeepMind interview question

Typical Leetcode questions, using simple algorithms