sir i am not able to find the mistake in it only one case is not passing plz help me out
Pascal triangle
@anuragavm123
your logic was correct, but there was a minor bug in the test case.
for n==1 the asnwer was 1 (without a new line)
your code was printing new line.
I have made the required changes.
1 Like
Thank u sir i am able to understand it