V
vikas
Hi,
I want to sort a hash table based on value, not key. (key is of type
string which hashes to some value and in each node i am maintaining
frequency of that word(string) which is to be updated when that word
is found. Now i want to print the words in decreasing order of
frequency.
I want to sort a hash table based on value, not key. (key is of type
string which hashes to some value and in each node i am maintaining
frequency of that word(string) which is to be updated when that word
is found. Now i want to print the words in decreasing order of
frequency.