2021年7月7日

摘要: 地址 https://leetcode-cn.com/problems/pascals-triangle/ 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 5 输出: [ [1], [1,1], [1,2,1 阅读全文
posted @ 2021-07-07 09:29 itdef 阅读(84) 评论(0) 推荐(0)

导航