Problem 26 · Easy

Remove Duplicates from Sorted Array

Use read/write pointers to compact unique values in-place and return the new length.

Open the interactive visualisation