Create Remove Duplicates from Sorted Array II 

we should take the rules that everytime cur step one, the current number of next should be cope to the cur pos in heart.