摘要:
Palindrome Numbertime=434ms负数不是回文数public class Solution { public boolean isPalindrome(int x) { int palindrome=0; int revers=x; ... 阅读全文
摘要:
String to Integer (atoi)time=272ms accepted需考虑各种可能出现的情况public class Solution { public int atoi(String str) { int length=str.length(); ... 阅读全文