Pregunta de entrevista de Codazen

Demonstrate react knowledge, demonstrate ability to solve a basic algorithm problem