摘要: Given a string s. In one step you can insert any character at any index of the string. Return the minimum number of steps to make s palindrome. A Pali 阅读全文
posted @ 2020-02-21 15:26 Schwifty 阅读(186) 评论(0) 推荐(0)
摘要: Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1:Input: "bbbab 阅读全文
posted @ 2020-02-21 15:22 Schwifty 阅读(125) 评论(0) 推荐(0)
摘要: Given an array of integers target. From a starting array, A consisting of all 1's, you may perform the following procedure : let x be the sum of all e 阅读全文
posted @ 2020-02-21 13:57 Schwifty 阅读(183) 评论(0) 推荐(0)