BlindCurated75
含有「BlindCurated75」共 2 篇內容
全部內容
發佈日期由新至舊
螃蟹_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
2
1
黎星羽
2025/12/01
喜歡
中心擴展法真的很直覺又高效! 看完範例,回文子字串瞬間搞懂了。 感謝分享,筆記起來超實用!
喜歡
螃蟹_crab的沙龍
2025/11/22
[Python][Leetcode]用 Sliding Window 找最長無重複字元子字串
✨ 1. 題目說明(白話翻譯) 題目原文: Given a string s, find the length of the longest substring without duplicate characters. 白話解釋如下: ✔ substring(子字串) 必須是 連續 的字
#
Python
#
Leetcode
#
BlindCurated75
5
留言