Please check my code and tell me what is the mistake in it.
I am not able to pass Test Case 1, Test Case 2, Test Case 3.
Code-> https://ide.codingblocks.com/s/280342
Please help.
Please check my code and tell me what is the mistake in it.
I am not able to pass Test Case 1, Test Case 2, Test Case 3.
Code-> https://ide.codingblocks.com/s/280342
Please help.
Hey @rahul.maheshmaheshwari try this test:
11
44166181111
answer is 4 but your output is 2.
you may try recursive 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.