Intact interview question

Simple leetcode question 1 and some basic statistics.