Pregunta de entrevista de Meta

Just coding assessment without behavior questions.