摘要:
Determine whether an integer is a palindrome. Do this without extra space.判断一个integer是否为回文。注意不要用额外的空间。另外,注意考虑负数。 1 public class Solution { 2 publ... 阅读全文
posted @ 2015-08-08 10:26
codingcat
阅读(174)
评论(0)
推荐(0)
摘要:
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321注意考虑几个情况,x=1534236460 1534236469 -2147483647等等。写的代码有点冗长了。 1 pub... 阅读全文
posted @ 2015-08-08 10:25
codingcat
阅读(265)
评论(0)
推荐(0)
摘要:
Write a SQL query to find all duplicate emails in a table namedPerson.+----+---------+| Id | Email |+----+---------+| 1 | a@b.com || 2 | c@d.com |... 阅读全文
posted @ 2015-08-08 10:24
codingcat
阅读(156)
评论(0)
推荐(0)

浙公网安备 33010602011771号