Pergunta de entrevista da empresa Intuit

LeetCode Medium-level question that required a sliding window approach