摘要: 描述:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two... 阅读全文
posted @ 2014-12-24 18:35 博临天下 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 描述:Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thi... 阅读全文
posted @ 2014-12-24 18:25 博临天下 阅读(9357) 评论(1) 推荐(0) 编辑