又是好久没有刷题 https://leetcode.com/problems/…
26. Remove Duplicates from Sorted Array
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this by modifying …… 阅读全文
Remove Duplicates from Sorted Array
Reply