#647

Palindromic Substrings

medium· 1-D DPruns: 0

Given a string s, return the number of palindromic substrings in it. A string is palindromic if it reads the same forward and backward. Different start or end indices count as different substrings even if they consist of the same characters.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.