Skip to content

Glossary: Algorithms Beyond the Basics in Go

In place

Also written: in-place

Changing a slice directly instead of building a new one. `removeDuplicates` tidies the caller's slice this way.

Where the book teaches it

Related terms

Slow and fast pointers