DP : k-ordered lcs, Bottom-Up approach

I’ve solved the problem in TopDown approach but I keep getting 1 Testcase failed with BottomUp approach.
Is there some edge case that I’m missing or any constraint ?

Hello @ironrobot10 please wait let me see your code:

please see this code:
https://ide.codingblocks.com/s/397663
if you have any doubt you can ask here:
Happy Learning!!

Your solution is correct, but I haven’t had a problem with topdown approach.
I’m asking for help in the bottomUp approach.

Hello @ironrobot10 i think for some questions there are particular approach which are optimised and you have to understand in that way.
if you dont understand anything you can ask here:
Happy Learning!!

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.