Given positive integer
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients. © Wikipedia
Input: 5
Ouput:
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
Solution coming up... :)
Given positive integer
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients. © Wikipedia
Input: 5
Ouput:
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
Solution coming up... :)