Problem DescriptionThere are N buildings standing in a straight line in the City, numbered from 1 to N. The heights of all the buildings are distinct and be...
题目Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3,Return [1,3,3,1].这道题是118题的延续,要求给定数字k,返回杨辉三角的第k行,这里把最开始的[1]这一行看作了第0行。...