Qualcomm interview question

Explain how adaptive Huffman algorithm works?