How to Remove Duplicates from Sorted Array in C/C++ (Constant Memory)? April 19, 2016 algorithms, c / c++, leetcode online judge 1 Comment Given a sorted array, 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, … [Continue Reading...]