Pergunta de entrevista da empresa Visa Inc.

Basic leetcode/codesignal type questions where the first two were ok but the last two were more difficult.