Print lcs...................no output!

no output !!!
what is the mistake
please highlight in my code only

why my code even changes the dp table
if if print the table alone its correct but when with this code it changes to 62312 something values

hello @hg11110000 in which question you have doubt because the code you have shared is for string sort and you have raised the doubt in the question print lcs .
please elaborate so that i could help you in the better way .

@tusharaggarwal272

lcs only bhaiya…

@hg11110000 i have corrected your code and now it is printing the correct output .


i have commented the error as well it was in line 51 .
if you feel your doubt is resolved please mark this as resolved .
i hope i have cleared your doubt .
Happy Learning !!