Pergunta de entrevista da empresa Bloomberg

Leetcode problems from medium to hard