Use HashTable to count the string array, quickly when the array is big and complicate.
Many codes are from 哈希表之bkdrhash算法解析及扩展, it's a Chinese blog.
cd ./
./HashTable.out > result.txt
cd ./
g++ -std=c++11 -o HashTable.out HashTable.cpp
Use HashTable to count the string array, quickly when the array is big and complicate.
Many codes are from 哈希表之bkdrhash算法解析及扩展, it's a Chinese blog.
cd ./
./HashTable.out > result.txt
cd ./
g++ -std=c++11 -o HashTable.out HashTable.cpp