Given numRows, generate the first numRows of Pascal’s triangle.
For example, given numRows = 5,
Return
1 |
[ |
1 |
class Solution { |
Given numRows, generate the first numRows of Pascal’s triangle.
For example, given numRows = 5,
Return
1 |
[ |
1 |
class Solution { |
近期评论