I had gone through the editorial and then I tried to implement it myself but there are some failed test cases.
I have found that there is some change in line 19 of my code as compared to editorial code.Please explain what’s wrong with my code
Test Cases Failed
in editorial it is freq[str[left]-‘a’]… and then left++;
please share your code.
thanks
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.