public static void main(String args[]) {
        NthElementOfCountNumberSequence nes = new NthElementOfCountNumberSequence();
        for(int i = 1 ; i <= 10; i++) {
            List<Integer> result = nes.nthElement(i);
            result.forEach(System.out::print);
            System.out.println();
        }
    }
Date 07/20/2015
@author Tushar Roy

Given a sequence like
1 11 21 1211 111221 312211
Print nth element of this sequence.
src/com/interview/array/NthElementOfCountNumberSequence.java