Pergunta de entrevista da empresa Citadel

Coding. Algorithm about medium difficulty on Leetcode.