Skip to content

Glossary: Data Structures and Algorithms in JavaScript

In place

Also written: in-place

Changing an array itself instead of making a copy. Swapping from both ends reverses an array in place using O(1) extra space.

Where the book teaches it

Related terms

ImmutableSpace