โ† Sandvine questions

Longest palindromic substring and spiral matrix

Filed under Sandvine

The question

Find the longest palindromic substring from a given string and print a matrix in spiral form, with executable code.

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

Related Sandvine questions

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