Why dp[2*n] always less than (dp[2*n+1] + z)

can you explain more about why for even we are not considering the next odd number
ie. dp[8] = min( dp[7] + y, dp[4] + x)
why not dp[8] = min( dp[7] + y, dp[4] + x, dp[9] + z)

Hey @amitsharma246813
Please see 5:30 - 9:50 again.

In depth explanation is given in it there.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.