Strings: Longest Palindromic Substring

As I start to continue to prepare for technical interviews, I’ll be going over solutions for questions that I find initially challenging. Today, I’ll be going over the Longest Palindromic Substring problem on Leetcode. The problem can be found here.
Problem Description
Given a string s, return the longest palindromic substring in s.