LeetCode214——最短迴文串

個人LeetCode代碼倉:https://github.com/617076674/LeetCodejava 原題連接:https://leetcode-cn.com/problems/shortest-palindrome/description/git 題目描述:github 知識點:迴文字符串、KMP算法算法 思路一:暴力破解法 要找到知足題目要求的最短迴文串,本質是要找到最長的迴文子串,
相關文章
相關標籤/搜索