5 - 6 test cases are getting failed.
Here’s my code -
Please help me out. Thanks.
5 - 6 test cases are getting failed.
Here’s my code -
Please help me out. Thanks.
Hey @gambhirrahul0
Your approach is incorrect
Say for this
86922395
in the above :
2
2
3
5
are the 4 non intersecting CB numbers.
So first check for all the substrings of length 1 and then length 2 and so on
Approach
*
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.