Mental Model
Quick Sort splits the list into smaller parts around a pivot, sorts each part, then combines them to get a sorted list.
Analogy: Imagine sorting a deck of cards by picking one card as a divider, putting smaller cards on one side and bigger cards on the other, then sorting each side separately.
Array: [7, 2, 5, 3, 9] Pivot chosen -> 5 Split into: Left: [2, 3] Pivot: [5] Right: [7, 9]
