Max frequency character

only two test cases didn’t run can you please tell me what is wrong with my code

@WARHEAD hey neerav
consider this case your code is falling
qwertyuiopoiuytrewqfff
your output is w
but output is f

why havn’t you guys responded to the doubt till now

yrr this is really irritating, doubt solving on coding ninjas is so much better than yours

hello is one there…?