Dynamic Programming related question

I was trying to compare top-down and bottom-up approaches. I had a doubt.

Is the array we use to store intermediate results in memoization(top-down) same as the only array we use in bottom-up? Are the contents same at the end of the program?

Comments (0)