Skip to content

Glossary: Algorithms Beyond the Basics in Rust

Slow and fast pointers

Two indexes that move the same way: the fast one reads every item and the slow one marks the end of the tidy part, as when removing duplicate order IDs in place.

Where the book teaches it

Related terms

Two pointers