Pregunta de entrevista de Gemini Solutions

One puzzle and one coding question