Leetcode – Remove Duplicates
Name: Remove Duplicates from Sorted ArrayDifficulty: EasyDescription: Remove duplicates from a sorted array – in place Example: Input: nums = [0,0,1,1,1,2,2,3,3,4] Output: 5, nums = [0,1,2,3,4,_,_,_,_,_] Should return the correct number (k) of unique numbers, the array should be in sorted order. After k numbers, the rest of the numbers are ignored.