Pergunta de entrevista da empresa Lumen

Leetcode style algorithm question/coding excercise.