Concept Flow - Sort Colors Two Pointer Dutch Flag
Initialize pointers: low=0, mid=0, high=n-1
Check mid <= high?
No→Done
Yes
Inspect nums[mid
Repeat check mid <= high?
We use three pointers to separate 0s, 1s, and 2s by swapping elements and moving pointers until mid passes high.
