26. Remove Duplicates from Sorted Array
·
Coding Test/LeetCode
class Solution { public: int removeDuplicates(vector& nums) { int k =1; int j=nums[0]; vector nums2; nums2.push_back(j); for(int i =1;i