l==1 and l==0 what does this signifies?? why the use
What the use of strlen in this
hi @suryansh771 if l == 0 (it means no characters in the string) and if l == 1 (it means 1 character in the string) in both of these cases duplicate characters are not possible so you dont need to do any processing on this string and simply return.
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.