static int array[256];
removedupli(char s[],int n)
{
array[s[0]]=1;
for(i=1;i<n;i++)
{
if(array[s[i]]==0)
array[s[i]]=1;
else
{
for(pos=i;i<n;i++)
s[pos]=s[pos+1];
i--;-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
