Pascal's Triangle
Given a non-negative integer numRows, generate the first_numRows_of Pascal's triangle.
Example:
Solution
Last updated
Given a non-negative integer numRows, generate the first_numRows_of Pascal's triangle.
Example:
Last updated
In Pascal's triangle, each number is the sum of the two numbers directly above it.