Can you craft a program that identifies the longest palindromic substring within a given string?

Free for the first 3 answer contributors

Interview question asked to Data Scientists and Machine Learning Engineers interviewing at Qualcomm, Citrix, GitHub and others: Can you craft a program that identifies the longest palindromic substring within a given string?.