The triangle below is known as Pascal’s triangle.
In this triangle, the value at a position is equal to the sum of values of the 2 elements just above it.
For the leftmost and the rightmost position in each row, the value is 1. The element in the first row is also 1.
Given a number n, find the nth row of pascal’s triangle.
The first line contains ‘T’ denoting the no. of test cases.
Next T lines contains a number 'n' denoting the row number of pascal’s triangle.
For each test case, a line containing ‘n’ space-separated integers denoting the elements in the nth row.
3
4
5
6
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 <= T <= 100
1 <= n <= 30