C++ Programming Tutorials- In Hindi: http://www.youtube.com/playlist?list=PLLCPT3xuF5zbtRni1_qSH39Qav6aSVnnl
Here is an program to delete duplicates from an array. Program will work fine for Sorted as well as Unsorted data array. Here are steps and code(C++) for program.
i=0 , N=Size of array, arr[N] ;
Step 1: Traverse array from i=0 to N-1 (0 to N-1 programmatically)
Step 2: Check for i+1th to N-1