Answer
The classic approach to generate a row of Pascal's triangle is that the left and right sides will always consist of 1's, while each interior value is simply the sum of the two values directly above it, as illustrated in Fig. 1.
Work Step by Step
Pascal's triangle is a triangular arrangement of numbers where the $n^{th}$ row gives the coefficients of $(x+y)^n$. Consequently, the below
$(x+y)^0 = 1$
$(x+y)^1 = x+y$
$(x+y)^2 = x^2 + 2xy +y^2$
$(x+y)^3 = x^3 + 3x^2y + 3xy^2 + y^3$
$(x+y)^4 = x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + y^4$
reveals rows 0 through 4 of Pascal's triangle to be.
The classic approach to generate a row of Pascal's triangle is that the left and right sides will always consist of 1's, while each interior value is simply the sum of the two values directly above it, as illustrated in Fig. 1.