private String createString(int input) {
        StringBuffer sb = new StringBuffer();
        for (int i = 9; i >= 0; i--) {
            sb.append(getChar(input>>(i*2) & mask1));
        }
        return sb.toString();
    }
Date 03/08/2016
@author Tushar Roy

Find repeated sequence of length 10 in string consisting of A,C,G,T

Time complexity is O(n)
Space complexity is O(n)

https://leetcode.com/problems/repeated-dna-sequences/
src/com/interview/bits/RepeatedDnaSequence.java