13.05 · Problem
Longest Palindromic Substring
This problem is part of solulu Pro
Return the longest palindromic substring of s. (When two different substrings tie for the longest, either is correct; the tests here all have a single answer.)
Lifetime ₹1,999 ₹999 · Launch offer
Item 103 of 150 · updated 2026-10-12