Hacker Rank :  Algorithms : Combinatorics : Building A List