Pergunta de entrevista da empresa Intact

Simple leetcode question 1 and some basic statistics.