Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle.
Note that the row index starts from 0.
跟上一题没啥区别,就是只输出一行。
那就得到矩阵之后,输出最后一行呗。会不会太多此一举~
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle.
Note that the row index starts from 0.
跟上一题没啥区别,就是只输出一行。
那就得到矩阵之后,输出最后一行呗。会不会太多此一举~