Sign in

Strings: Longest Palindromic Substring

Longest Palindromic Substring problem on Leetcode

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.