随笔分类 -  leetcode

摘要:class Solution { public boolean isPalindrome(int x) { if(x>Integer.MAX_VALUE) return false; String string= String.valueOf(x); char[] chars = string.to 阅读全文
posted @ 2017-09-03 14:48 戴林甫 阅读(118) 评论(0) 推荐(0)
摘要:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2017-06-11 17:13 戴林甫 阅读(230) 评论(0) 推荐(0)