Remove Duplicate Character Using Hash Function PDF
Remove Duplicate Character Using Hash Function PDF
h>
# include <stdlib.h>
# define NO_OF_CHARS 256
# define bool int
char temp;
if (bin_hash[temp] == 0)
bin_hash[temp] = 1;
res_ind++;
}
ip_ind++;
*(str+res_ind) = '\0';
return str;
}
int main()
{
printf("%s", removeDups(str));
getchar();
return 0;