Fortinet interview question

Linked list question. Query question, Huffman encoding