Pregunta de entrevista de Desquared

Leetcode problems, i dont remember which