Further more, if we only want to use one hash table, we can just record the numbers of unique characters and words. If one hash table is valid and those two number are equal, we can say that it should return a "true".