Fortinet Interview Question

Linked list question. Query question, Huffman encoding