We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each string, we delete all the characters in those indices. For ...
给定一个字符串,输出最长的回文子串。回文串指的是正的读和反的读是一样的字符串,例如 "aba","ccbbcc"。 解法一 暴力破解 暴力求解,列举所有的子串,判断是否为回文串,保存最长的回文串。 时间复杂度:两层 for 循环 O(n²),for 循环里边判断是否为 ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果