摘要: 题目 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 substri 阅读全文
posted @ 2021-09-27 16:08 你也要来一颗长颈鹿吗 阅读(24) 评论(0) 推荐(0)
摘要: 题目 Given a string s, return the longest palindromic substring in s. Example 1: Input: s = "babad" Output: "bab" Note: "aba" is also a valid answer. Ex 阅读全文
posted @ 2021-09-27 09:57 你也要来一颗长颈鹿吗 阅读(27) 评论(0) 推荐(0)