all testcases are not passing
First non repeting element

u`ll always end up having 0 as the min
and always character at index 0 will be returned the answer take index as int_max
now also all test cases are not passing
this should work
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.