Longest palindromic substring

0
Remix

Return the longest substring of a string that reads the same forwards and backwards. Start with expanding around each center, state the time and space, and say how you would get to linear time if asked.

MetaCodingLast asked Nov 2025
No answer yet. Write the first one; the best answer gets endorsed.