1, 20, 33, 400, 505, 660, 777, 8000, 9009, ........ Seems to be little strange ..huh. Most of times when i see this kind of series and i dont get a clue in couple of minutes, i become so mad with me. Fortunately today i could solve this in minutes. Here is explanation, sequence is Natural Number's binary representation * Number. Number Binary Binary * Number 1 1 1 2 10 20 3 11 33 4 100 400 5 101 505 6 110 660 7 111 777 8 1000 8000 9 1001 9009
Collection of Interview Question on Data structure, Algorithm, Java, C++ and more