Print LCS problem DP


Please help me to find the mistake.
Some test cases are not passing.

i read it your code is correct
give the question link may be your output format is wrong there may be multiple testcases you have consider only one case

https://online.codingblocks.com/player/21579/content/7819/4849