Highest Frequency(Hashing)

Can you please tell me what is wrong with my code.

hello @rahul.gupta03111999
when there are more than one character with maximum frequency then in such case u need to print smaller one(which u r not handling in ur code)

Can you Please tell me why am I getting 5 as an output when I am putting 1 2 2 2 3 as the input array

u r not reading nā€¦ ā€¦ . . ā€¦ . . . . .

After all the corrections, it is still passing only one test case. Please help

image
use <=


It is still not working

check now->

ignore this case