int palin(char *p)
{
int x=0;
while(*p)
{
x^=1<<(*p-'a');
p++;
}
int i=0,count=0;
while(i<26)
{
count+=(1<<i & x)>>i;
i++;
}
if(count>1)
return 0;
else
return 1;
}-- 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.
