LeetCode No.118 Posted on 2021-05-24 | In OJ , LeetCode | | LeetCode第118题—杨辉三角 自己代码的开源仓库:click here 欢迎Star和Fork :) ¶题目描述 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 1234567891011示例:输入: 5输出:[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]] ¶代码 Hobby lead creation, technology change world. Post author: StriveZs Post link: www.strivezs.com/2021/05/24/LeetCode%E7%AC%AC118%E9%A2%98/ Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.