【leetcode】Python实现-119.杨辉三角形 II

119.杨辉三角形 II 描述:python 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。web 示例:svg 输入: 3 输出: [1,3,3,1]spa 我code class Solution: def getRow(self, rowIndex): """ :type rowIndex: int :rtype: List[int] """
相关文章
相关标签/搜索