i want the topdown code for this problem
Can u give me the top down approach code for this problem
Hey @neha_153 , If you have already implemented the bottom up approach then you can easily do the bottom up approach as well you just have to fill both the forward and backward array using top down approach and find their maximum in main function .
Give it a try if the doubt still persists let me know
Hope it helps .
If your doubt is now resolved please mark it as resolved and rate me accordingly .
Else you can further questions here .
Thankyou