327. Pascal's Triangle
Given an integer N, the task is to generate the first N rows of Pascal's triangle. Pascal's triangle is a triangular array of numbers where each number is the sum of the two numbers directly above it.
The input consists of a single integer N.
Print N rows of Pascal's triangle, each row separated by a new line.
1 1 1 1 2 1 1 3 3 1
0 <= N <= 30