Pergunta de entrevista da empresa Innomick Technologies

Basic python algorithm question, easier than Leetcode medium questions.