This episode of Python Programming Practice shows two approaches to LeetCode #5 -- Longest Palindromic Substring
https://leetcode.com/problems/longest-palindromic-substring/

This is a medium difficulty problem.

Note that the intent of this series to help viewers think through approaches to problems, not to provide copy/paste access to code that will pass LeetCode tests.