This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Description
Description of the Problem
Given a string, your task is to count how many palindromic substrings in this string.
The substrings with different start indexes or end indexes are counted as different substrings even they consist of the same characters.
Code
class Solution:
def countSubstrings(self, s: str) -> int:
Link To The LeetCode Problem
Palindromic Substrings