Pregunta de entrevista de Stuart

Solve one kata on codewars (quick and moderate difficulty)