Efficiently eliminating repeated elements from sorted array
Explain code with DocComment! Try out your own code!