Given an integer N, print numbers from 1 to N in lexicographic order -- Bloomberg LP