Pergunta de entrevista da empresa GlobalLogic

Algorithms and questions regarding time and space complexity