1 Comment
May 6, 2023·edited May 6, 2023

> Instead of copying lists, we can modify the actual list as Python supports referencing. This converts it to an in-place implementation.

The linked code doesn't look like an in-place implementation to me. Can you elaborate on what you mean by 'referencing'? If you mean slicing like `left = arr[:mid]` that creates a shallow copy.

Expand full comment