Concept Flow - Dutch National Flag Three Way Partition
Start with array and pivot
Initialize low=0, mid=0, high=end
Check element at mid
Swap with low
Increment low, mid
Repeat until mid > high
Partition done
The array is divided into three parts by moving elements less than, equal to, and greater than the pivot using three pointers low, mid, and high.
