Google DeepMind interview question

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