Problem 88 · Easy

Merge Sorted Array

Merge two sorted arrays into the first one in place, using the spare slots at its end. The visual fills from the back, comparing the largest remaining values.

Open the interactive visualisation