Huffman Tree
Huffman Tree is simple if you keep it on paper. Ananya uses it for folder on disk in a file explorer.
Huffman Tree on the board — left < root < right. Then say what folder on disk looks like after.
Huffman Tree exists so Ananya can keep folder on disk correct in a file explorer.
Use Huffman Tree when folder on disk must stay clear. If a simpler DSA step works, use that instead.
Huffman Tree miss — unbalanced BST becoming a list. Fix it before you talk about advanced DSA.
Place Huffman Tree next to nearby DSA work — left < root < right is the link.
Viva for Huffman Tree — what it is → left < root < right → the mistake (unbalanced BST becoming a list).
For Huffman Tree: definition + a file explorer + one failure.