Mental Model
Deleting a node from a BST means removing it while keeping the tree sorted. We adjust links so the tree stays balanced and ordered.
Analogy: Imagine removing a book from a sorted bookshelf. If the book is alone, just take it out. If it has neighbors, shift or replace it so the order stays perfect.
5
/ \
3 7
/ \ \
2 4 8
