private int getHigherNumber(int input, int i, int len){
        if(input + len - i-1 <=9){
            return input;
        }
        return -1;
    }
http://www.careercup.com/question?id=4857362737266688
Test cases : 
6 2 3 -> 6 7 8
1 2 3 -> 1 2 4
1,7,9 -> 1,8,9
1,8,9 -> 2,3,4
9,8,7 -> 1,2,3,4
2,6   -> 2,7
src/com/interview/number/SmallestNumberGreaterThanGiveNumberIncreasingSequence.java