118. 楊輝三角

class Solution: def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] """ ans = [] for i in range(numRows): temp = [1]*(i+1) a
相關文章
相關標籤/搜索