15.杨辉三角II

给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。html 在杨辉三角中,每一个数是它左上方和右上方的数的和。java 示例:code 输入: 3 输出: [1,3,3,1] 代码:htm public static List<Integer> getRow(int rowIndex) { List<List<Integer>> list = new ArrayList<Lis
相关文章
相关标签/搜索