Pergunta de entrevista da empresa IBM

Moderately difficult coding questions of the leetcode type