DSA icon indicating copy to clipboard operation
DSA copied to clipboard

Pascal's Triangle II

Open swapnil604 opened this issue 3 years ago • 0 comments

Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal's triangle.

In Pascal's triangle, each number is the sum of the two numbers directly above it as shown:

PascalTriangleAnimated2

swapnil604 avatar Oct 01 '21 12:10 swapnil604