摘要:
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki... 阅读全文
posted @ 2014-11-30 22:30
老徐Bowie
阅读(134)
评论(0)
推荐(0)
摘要:
任务是判断可能出现的情况:1.空格2.空指针3.首字符是04.首字符是“+”或“-”5.判断边界条件,上界INT_MAX=2147483647,下届INT_MIN=-2147483648,小心判断 1 // 2 // main.cpp 3 // Longest Substring 4 // ... 阅读全文
posted @ 2014-11-30 13:18
老徐Bowie
阅读(161)
评论(0)
推荐(0)
浙公网安备 33010602011771号