Palindromic Substrings at Salesforce
Medium72.5% acceptance
This problem has 62.5% frequency at Salesforce.
Problem Description
Given a string `s`, return _the number of**palindromic substrings** in it_. A string is a **palindrome** when it reads the same backward as forward. A **substring** is a contiguous sequence of characters within the string.
Read full problem and hintsTopics
Also asked at 22 companies
More Salesforce Questions
Minimum Operations to Reduce an Integer to 0MediumString CompressionMediumRemove Adjacent Almost-Equal CharactersMediumMaximum Number of Occurrences of a SubstringMediumSmallest Substring With Identical Characters IIHard
View all Salesforce questions