Kth non repeating character


this code doesnt show any output for the input…
plz correct it …

plz reply to this doubt…

@S19LPPP0202 you are never incrementing count even if x.second==1,
i have updated your code look at this https://ide.codingblocks.com/s/240282

plz suggest some better approach to this problem as well…

@S19LPPP0202 your code is the best approach for this problem.

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.