Qualcomm Interview Question

Explain how adaptive Huffman algorithm works?