Counting the number of continuous palindromic substrings – codereview.stackexchange.com

Given a string of lowercase ASCII characters, find all distinct continuous palindromic sub-strings of it. Here is my code: def palindrome(s): if s==s[::-1]: return True ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Counting the number of continuous palindromic substrings – codereview.stackexchange.com"