Longest Palindromic Substring

i am getting compiler error bcz of LPS array pls help me to modify my code

image
u can do it this way i suppose
also on line 57 update lps.length() to len