I am trying to solve a dynamic programming problem and I need to take the user input in the form of a 2-d array and use the values from the 2-d array inside the function. The values of the 2-d array will not be changed when used inside the function.I am trying to solve a dynamic programming prob