摘要:
Shortest Palindrome TLE:用isPalin function肯定会超时,最好的方法是先reverse string然后再和自身比较 class Solution(object): def shortestPalindrome(self, s): """ :type s: str 阅读全文
posted @ 2016-06-09 05:22
absolute100
阅读(78)
评论(0)
推荐(0)
浙公网安备 33010602011771号