Longest Palindromic Substring — 1-D DP

Return the longest stretch of a short lowercase word that is a mirror of itself; give the stretch itself, not its length.

1-D DP · Medium

More in 1-D DP

All algorithm problems