Remove Duplicates from Sorted Array
ID: 26: Easy
Solution 1 (Go)
Solution 2 (Java)
Notes
iis the writing pointer andjis the reading pointer.We only change the array in place if the reading pointer encounter some number that is different from the writing pointer.
Last updated
Was this helpful?