Abstract Data Type (ADT)
Ananya only reaches for Abstract Data Type (ADT) when folder on disk has to stay correct in a file explorer.
Keep Abstract Data Type (ADT) small. Ananya should finish folder on disk in a few lines, not a 40-line dump.
Without Abstract Data Type (ADT), a file explorer gets messy and folder on disk is hard to trust.
Abstract Data Type (ADT) shows up in a file explorer. Name folder on disk, not “a real-world scenario”.
If folder on disk breaks under Abstract Data Type (ADT), check unbalanced BST becoming a list first.
Place Abstract Data Type (ADT) next to nearby DSA work — left < root < right is the link.
Close Abstract Data Type (ADT) with: “If I skip it, folder on disk goes wrong like this: unbalanced BST becoming a list.”
8
/ \
3 10
/ \
1 6Board: folder on disk. Dry-run Abstract Data Type (ADT). Name the trap: unbalanced BST becoming a list.