Stores the values of Pascal's Triangle in a matrix and uses two algorithms. One algorithm is used to calculate the values for each index in the matrix and another algorithm to put the values in a triangular format to be visually appealing.
shaleequreshi / pascals-triangle Goto Github PK
View Code? Open in Web Editor NEWAn algorithm to create Pascal's Triangle using matrices to a user-specified number of rows.
Home Page: https://shaleequreshi.github.io/Shahrukh/#/