← Sandvine questions

Print the Longest Palindromic Substring

Filed under Sandvine · Also reported at Tolexo

The question

Given a string, find and return the longest substring that is a palindrome.

No write-up yet. Related questions below have one.

Related Sandvine questions

Collected from public candidate posts and coding forums. Updated Nov 2026.