The code is not working there is some error wrt ch because ch is character but we are referring it to store frequency. Can you please check the code and explain what needs to be corrected.
This is the code for sliding window problem
Hello @gunishmatta this is the corrected code:
you can check this i have commented the error.
Happy Learning!!
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.