In-place algorithm
An algorithm that uses only a small, input-size-independent amount of extra storage, typically overwriting or rearranging its input.
An algorithm that uses only a small, input-size-independent amount of extra storage, typically overwriting or rearranging its input.