Thank you, ma'am. I think the regular recursive approach to solve a big problem and memoization of the sub-problems is the Top-down approach & the Bottom-up approach basically indicates solving all subproblems iteratively with Tabulation. In summary: - Top-Down: Recursive + Memoization - Bottom-Up: Iterative + Tabulation
Thank you, ma'am.
I think the regular recursive approach to solve a big problem and memoization of the sub-problems is the Top-down approach & the Bottom-up approach basically indicates solving all subproblems iteratively with Tabulation.
In summary:
- Top-Down: Recursive + Memoization
- Bottom-Up: Iterative + Tabulation