Skip to content

Glossary: Algorithms Beyond the Basics in C++

Two pointers

Also written: two pointer

A pattern with two indexes moving through one list, either from both ends of a sorted list or in the same direction.

Where the book teaches it