【Leetcode】Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's tri...
Givenanon-negativeindexkwherek≤33,returnthekthindexrowofthePascal'striangle.Notethattherowindexstartsfrom0.classSolution(object):defgetRow(self,rowIndex):""":typerowIndex:int:rtype:List[int]"""row=[1]