Palindromic Substrings
CodingOnsiteSoftware EngineerReported May, 2026
Company question banks are included with the Insider plan.
Given a string s, return the number of substrings within s that are palindromes.
A palindrome is a string that reads the same forward and backward.