This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingA family of index-walking patterns on one array: opposite ends for pair sum, read and write compaction, fast and slow for the middle, and the three-way Dutch flag partition. The name describes the family, not the count; the Dutch flag mode uses three pointers.
What this asks
Practice the two-pointer family on one array: pair sum, compaction, fast and slow, and the three-group partition. The family name is not a headcount; the Dutch flag mode uses three pointers.
Pick a mode; each one prints the invariant its pointers keep true.
Try the matching visualizer modeThe full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing