Help me out in this

https:https://leetcode.com/problems/longest-common-subsequence///ide.codingblocks.com/s/378819

@KartikKhariwal it is giving tle even if i had memoized it ?

Ok wait let me check

Pass strings by reference and it will work
I think u already know the reason of TLE now :slight_smile:

@Kartikkhariwal1 okay

If this resolves ur query then please mark it as resolved :slight_smile: