BlindCurated75

含有「BlindCurated75」共 2 篇內容
全部內容
發佈日期由新至舊
5. Longest Palindromic Substring Given a string s, return the longest palindromic substring in s. 這個問題是要求你在一個給定的字串 s 中,找出最長的、連續的、且是一個回文的子字串。 Exampl
Thumbnail
黎星羽-avatar-img
2025/12/01
中心擴展法真的很直覺又高效! 看完範例,回文子字串瞬間搞懂了。 感謝分享,筆記起來超實用!
✨ 1. 題目說明(白話翻譯) 題目原文: Given a string s, find the length of the longest substring without duplicate characters. 白話解釋如下: ✔ substring(子字串) 必須是 連續 的字
Thumbnail