摘要:
public String convert(String s, int numRows) { if (s.isEmpty() || s == null || numRows >= s.length() || numRows == 1) { return s; } int n = s.length() 阅读全文
摘要:
暴力解法 public String longestPalindrome(String s) { int max = 0; int start = 0; int n = s.length(); for (int i = 0; i < n; i++) { for (int j = i; j < n; 阅读全文