Auriga IT interview question

sorting, patterns, patterns with one loop, google puzzles