Pergunta de entrevista da empresa COINLIST

The technical interview was a Leetcode-style algorithm question