2015年8月20日21:03:18 firstNotRepeatingChar 哈希表实现O(n)

//for a char datetype,a 256 array hashtable .
//looking for the first ,so wo should keep the sort
char FirstNotRepeatingChar(char* pString)
{
    if(pString == NULL)
        return '\0';


    const int tableSize = 256;
    unsigned int hashTable[tableSize];
    for(unsigned int i = 0; i


 
 

你可能感兴趣的:(基础)