leetcode118. Pascal‘s Triangle(118. 杨辉三角)
文章目录题目:118. 杨辉三角基本思想:数学题目:118. 杨辉三角Given a non-negative integer numRows, generate the first numRows of Pascal’s triangle.In Pascal’s triangle, each number is the sum of the two numbers directly above it.Example:Input: 5Output:[ [1], [1,1],