My code is failing for 3 test cases?
Go through this first and then let me know if you still face any issue.
Hi, I have made some changes but still 3 test cases are not being passed
Hey
There is one more small mistake that you are making.
This time I tested
4
1511
As per question the answer should be 2, either by taking 5,11 or by taking or 151,11(as 1 is common but it is not a CB number so this pair can also be a solution,and obviously 11 is neither a substring nor a super string of 151 )
Did you look into this? Your code is giving output as 1
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.