Given a sorted array, remove duplicates in-place so each element appears once, and return the new length.
Practise this challenge
All coding challenges