can you plz tell why 1 test case is wrong
Longest common subsequence
hey @Dhruv-Miglani-2090236747707980, after lot of debugging i found that there’s nothing wrong with your code, problem is there in the test case, for given test case there are multiple possible solution, if you prioritize i-- over j-- (that means write code for i-- before j–) you’ll get the correct output.
For reference please read this code: https://ide.codingblocks.com/s/132665
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.