I know that each row depends on the previous one. So, for each new row, I need to use the values from the previous row to calculate the new row. The number of rows in Pascal's Triangle is given by ...
Given an index k, return the kth row of the Pascal’s triangle. Pascal’s triangle : To generate A[C] in row R, sum up A’[C] and A’[C-1] from previous row R - 1.