Delete duplicate entries sorted array : Given a sorted array, you need to remove the recurring elements in place, so that each element appears only once, after returning the new length of the array is removed. Do not use extra space for an array, you must modify the input array in place and completed under the conditions of use O (1) extra space.