Add a solution of Remove Duplicates from Sorted Array II.