Skip to content

Glossary: Algorithms Beyond the Basics in C++

Slow and fast pointers

Also written: slow and fast pointer

Two indexes moving the same way over a vector: `fast` reads every item and `slow` marks the end of the tidy part, as when removing duplicate order IDs in place.

Where the book teaches it