Pergunta de entrevista da empresa Intuit

leetcode medium hard question was asked.