Google DeepMind Interview Question

Straight in the interview I was asked a coding question leetcode style.