WAP to remove all duplicate Elements from Sorted Array.
Input arr[]={5,10,15,15,15,20,25,30,30}
Output arr[]={5,10,15,20,25,30}
Note: Please dont use any predefined library.
 Published By : Suraj Ghimire
                                
                            WAP to remove all duplicate Elements from Sorted Array.
Input arr[]={5,10,15,15,15,20,25,30,30}
Output arr[]={5,10,15,20,25,30}
Note: Please dont use any predefined library.