Pregunta de entrevista de Meta

Answer a problem statement with code