Output of strings max freqeuncy if two numbers have equal frequency

What do i print if the frequency is equal for two numbers?

hi
it should be mention in the question
or if not then it generally the min ascii value character or max like
if possible ans
b h q
then ns may be b or q
try both possibility

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.