LCS 3 strings doubt


why it is showing any value

@gauravmadan583 Replace line 7 with int dp[l1+1][l2+1][l3+1]={} and then check.

Also if you do that, line 8,9 and 10 would not be necessary.

thanks solved the problem