Pergunta de entrevista da empresa Google

Was asked a Huffman coding type problem, had to first find a pattern in digits. And represent them using an algorithm.