Pregunta de entrevista de Rithum

How to solve different tasks