Print lcs problem


why it is not showing the output??

Hi @chehakagrawal01
Code is not printing any output because in the while loop you have reduced your dtu variable to 0 hence in the for loop for printing dtu is considered as 0 and hence nothing is printed.

https://ide.codingblocks.com/s/158311.

i have changed the code but now also it is showing wrong output


few changes i have made in your code have a look.