Pregunta de entrevista de think-cell

Some logical and algorithmic tasks