【leetcode】119. 楊輝三角 II

題目 解題思路 很簡單,就是簡單的動態規劃,本身看吧python class Solution(object): def getRow(self, rowIndex): """ :type rowIndex: int :rtype: List[int] """ rowIndex+=1 res=[[0]*(rowIndex+1) for _ i
相關文章
相關標籤/搜索