摘要:
做这道题的时候思路不是很清晰。写的乱七八糟!!挺简单的一道题,向别人写的学习!!package Leetcode;public class MergeSortedArray { public static void merge(int A[], int m, int B[], int n) {... 阅读全文
posted @ 2014-10-26 11:46
lilyfindjob
阅读(99)
评论(0)
推荐(0)
摘要:
1,采用reverse的方法,来比较是不是palindrome2,reverse number的方法!!3,还要记得负数的情况package Leetcode;public class PalindromeNumber {public boolean isPalindrome(int x) { ... 阅读全文
posted @ 2014-10-26 07:34
lilyfindjob
阅读(82)
评论(0)
推荐(0)
浙公网安备 33010602011771号