LeetCode 0118 - Pascal's Triangle
Pascal’s Triangle
Desicription
Given numRows
, generate the first numRows
of Pascal’s triangle.
For example, given numRows
= 5,
Return
1 | [ |
Solution
1 | class Solution { |
Given numRows
, generate the first numRows
of Pascal’s triangle.
For example, given numRows
= 5,
Return
1 | [ |
1 | class Solution { |