Pergunta de entrevista da empresa InterSystems

First step was a TET test on HackerRank