I passed the sample test cases but am failing the additional test cases! Why?

Created by Shubham Kumar, Modified on Tue, 9 Apr at 3:12 PM by Shubham Kumar

Try to think about what could have gone wrong. Maybe your approach is wrong, perhaps you are missing some corner cases, or maybe you have a bug in your code. Maybe you're solving a different problem than the question is asking you to solve.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article