Doubt in question

I am solving At coder dp contest…
question is F-LCS…
Here i deliberately used top down approch to do this,
This is my solution…
Here for every (i,j) i have stored string…
and printed the maximum length of string in map.
But this is showing wrong output for some input…
Please see this

what does your maap[{i,j}] denotes?