In-place algorithm

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

Connect