Pregunta de entrevista de Google

Leetcode questions. Just study that.