Doubt in problem statement

If row number is n (>1), total character is n. First and last character is n-1 and rest are 0.

The above is the explanation given in the problem so the sample output is

1
11
202
3003
40004

But according to the explanation output should be :

0
11
202
3003
40004

could you please explain me?

hello @yashsharma4304

the above explanation is for row number greater than 1 .

1 Like

Ok. Thank you :slightly_smiling_face: