← Mastercard questions

Palindromes from a string

Filed under Mastercard

Given a string, determine the total number of palindromic substrings (or permutations that can form palindromes, depending on interpretation; assuming standard distinct palindromic substring count or…

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 Mastercard questions

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