Lcs 3 string-------one test case passing only

Hi ur code is correct but have made the dp table small … String length can be 200 and u have made till 100.