摘要:
1 public class Solution { 2 /** 3 * @param s A string 4 * @return Whether the string is a valid palindrome 5 */ 6 public static boolean isPalindrome(String s) { 7 ... 阅读全文
posted @ 2017-06-27 17:35
大腮鱼
阅读(118)
评论(0)
推荐(0)
摘要:
1 public class Solution { 2 /** 3 * @param s : A string 4 * @return : A string 5 */ 6 public static String reverseWords(String s){ 7 if (s == null || s.isEmpty()... 阅读全文
posted @ 2017-06-27 16:49
大腮鱼
阅读(115)
评论(0)
推荐(0)
摘要:
1 public class Solution { 2 /** 3 * @param str: an array of char 4 * @param offset: an integer 5 * @return: nothing 6 */ 7 public static char[] rotateString(char[] ... 阅读全文
posted @ 2017-06-27 16:02
大腮鱼
阅读(155)
评论(0)
推荐(0)
摘要:
1 public class Solution { 2 /** 3 * @param A, B: Two string. 4 * @return: the length of the longest common substring. 5 */ 6 public int longestCommonSubstring(String aA, ... 阅读全文
posted @ 2017-06-27 14:56
大腮鱼
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号