Manmohan Loves Patterns-||


my output is correct but the second testcase is failing.

Hello @srshubhi398,

Your code if failing for the case:
n=1
Expected output:
1
Your Output:
1
11

Hope, this would help.
Give a like, if you are satisfied.

but the compiler I use is giving the same answer as expected output.

sorry sorry you are right.My code is failing for N=1. Thankyou.But I am not able to understand the problem in my code.

@srshubhi398 No Problem,

Please, mark this doubt as resolved.
BTW, i won’t mind a like.:rofl:

1 Like

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.