test case 0 is not passed
Test case 0 is not passes
@dhanu9721
your logic is correct, but there was a minor bug in the test case.
for n==1 the answer was 1 (without a new line)
your code was printing new line.
test case 0 is not passed
@dhanu9721
your logic is correct, but there was a minor bug in the test case.
for n==1 the answer was 1 (without a new line)
your code was printing new line.