Create a program to generate a Pascal’s Triangle for a hardcoded number of rows.
HardProblem Statement
Create a program to generate a Pascal’s Triangle for a hardcoded number of rows.
Sample Input
Rows: 5
Sample Output
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Limits
Time: 2s · Memory: 256 MB