Javascript – Pascal's Triangle Recursive Javscript
I need some help understanding this solution for pascal's triangle recursive function in javascript. This code is a solution to the following problem on LeetCode: https://leetcode.com/problems/pascals-triangle/ What I am not understanding is the line newRow[i] = prevRows[numRows - 2][i -…