Cracking the Coding Interview: Longest Palindromic Substring Python solution

Photo by Hitesh Choudhary on Unsplash

This problem is commonly found on leetcode and according to leetcode companies like Facebook and Amazon have tested this problem in their coding interviews! Therefore, it is actually quite important to learn how to approach and solve this problem.

The Question: