admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Remove Duplicates from Sorted Array

Suraj Ghimire
42 Posts

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
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin