Check whether the two Binary Search Trees are Identical or Not
Zara only reaches for Check whether the two Binary Search Trees are Identical or Not when folder on disk has to stay correct in a file explorer.
Keep Check whether the two Binary Search Trees are Identical or Not small. Zara should finish folder on disk in a few lines, not a 40-line dump.
Skip Check whether the two Binary Search Trees are Identical or Not and unbalanced BST becoming a list shows up in a file explorer.
Zara ships Check whether the two Binary Search Trees are Identical or Not in a file explorer. That is the use case worth saying.
Check whether the two Binary Search Trees are Identical or Not miss: unbalanced BST becoming a list. Fix it before you talk about advanced DSA.
After Check whether the two Binary Search Trees are Identical or Not, Zara should still remember unbalanced BST becoming a list.
Viva for Check whether the two Binary Search Trees are Identical or Not: what it is → left < root < right → the mistake (unbalanced BST becoming a list).
8
/ \
3 10
/ \
1 6Board: folder on disk. Dry-run Check whether the two Binary Search Trees are Identical or Not. Name the trap: unbalanced BST becoming a list.