Pergunta de entrevista da empresa QI-CAP

The test was on hackerrank and it consisted of 3 DSA problems.