You are viewing a single comment's thread. Return to all comments →
What is frequency count for?
we just needed to store frequencies of elements in such a way that we can perform search efficiently. So, to store them in keys, just storing their frequency count (frequency of frequencies) in values. so, frequency count is just used to store the actual element frequencies in keys.
Thank you. I figured it out!