Pergunta de entrevista da empresa Mastercard

Leetcode medium for coding, typical behav for second interview