Optimal Binary Search Tree
Optimal Binary Search Tree is simple if you keep it on paper. Isha uses it for folder on disk in a file explorer.
For Optimal Binary Search Tree, time vs memory is in play. Don’t blame it until you have traced folder on disk.
Skip Optimal Binary Search Tree and unbalanced BST becoming a list shows up in a file explorer.
Optimal Binary Search Tree shows up in a file explorer. Name folder on disk, not “a real-world scenario”.
Don’t do this with Optimal Binary Search Tree: unbalanced BST becoming a list. Interviewers spot it in ten seconds.
Optimal Binary Search Tree is not a lonely heading. Isha ties it to folder on disk.
Close Optimal Binary Search Tree with: “If I skip it, folder on disk goes wrong like this: unbalanced BST becoming a list.”
8
/ \
3 10
/ \
1 6Say Optimal Binary Search Tree in one breath, then left < root < right, then unbalanced BST becoming a list.