Skip to content

Glossary: Algorithms Beyond the Basics in Go

Slow and fast pointers

Also written: slow pointer, fast pointer

Two indexes moving the same way: `fast` reads every item and `slow` marks the end of the tidy part. They remove duplicates in place.

Where the book teaches it

Related terms

Two pointersIn place