Glossary: Algorithms Beyond the Basics
Slow and fast pointers
Also written: slow pointer, fast pointer
Two indexes moving the same way, where `fast` reads every item and `slow` marks the end of the tidy part. Sam's order IDs are de-duplicated this way.