中心擴展法
含有「中心擴展法」共 1 篇內容
全部內容
發佈日期由新至舊
螃蟹_crab的沙龍
2025/11/22
[Python][Leetcode]中心擴展法 (Expand Around Center)
5. Longest Palindromic Substring Given a string s, return the longest palindromic substring in s. 這個問題是要求你在一個給定的字串 s 中,找出最長的、連續的、且是一個回文的子字串。 Exampl
#
Python
#
Leetcode
#
BlindCurated75
4
2
李炳松
2026/01/12
1
1