Coforge Interview Question

java programs to check longest pallendrom