โ† SAP questions

Find all palindromic substrings within length range

Filed under SAP

Given a string s and two integers l and r, return all distinct palindromic substrings of s whose lengths are between l and r inclusive.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related SAP questions

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