Is it possible to know where am I going wrong in my approach. The link to the ocde is https://ide.codingblocks.com/s/178343
String Window Doubt
Hey @gargayush34
This problem is of two pointer approach and works in 0(n) complexity. Your code has N^2 complexity. Try to work on the 0(n) approach.
If your doubt is resolved please mark the doubt as cleared. Thanks and best of luck !!
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.