https://ide.codingblocks.com/s/115306. can you please explain the error in my logic.
Wrong answer for k-ordered
Ritesh you are using wrong approach in your solution. I would recommend you that plz go through the online video lecture given in dynamic programming for the same on k ordered lcs, and even then you are not able to get it , I would help to solve.