We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Given an integer N, print Pascal Triangle upto N rows. Input Format
Single integer N. Constraints
N <= 10 Output Format
Print pascal triangle. Sample Input
4
Sample Output
1 1 1
1 2 1 1 3 3 1