Can you help me in doing this problem using bottom up approach?

Can you help me in doing this problem using bottom up approach?

Hey @ap8730390
The dp table of this question resembles the MCM pattern