Pergunta de entrevista da empresa Paytm Labs

LeetCode # 49 answer on leetcode for free