Frequency using hashing

https://ide.codingblocks.com/s/60620 here is small mistake in my code please figure out

You are missing out a case when two value have same frequency .

max_count<=i.second ;

1 Like

@ashishnagpal2498 thank you so much bhaiya