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

0647 - Palindromic Substrings #564

@sailok

Description

@sailok

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions