Pergunta de entrevista da empresa ALGORYC

Basic coding questions, not too advanced.