Mental Model
Quick Sort splits the list into smaller parts around a pivot, sorts each part, and 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 to the left and bigger cards to the right, then sorting each side separately.
Array: [7, 2, 9, 4, 3] Pivot chosen: 4 Partitioned: [2, 3] -> 4 -> [7, 9]
