题目原文:
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of conv...
分类:
其他好文 时间:
2014-09-09 13:04:18
阅读次数:
156
1 首先是坚持libxml2出问题,提示如下:checking for xml2-config path... /home/www/thirdlib/libxml2/bin/xml2-configchecking whether libxml build works... noconfigure: ...
分类:
Web程序 时间:
2014-09-09 11:09:39
阅读次数:
220
Determine whether an integer is a palindrome. Do this without extra space.思路:先找出x的有效最高位,然后从两侧依次比较最高位和最低位即可。 1 class Solution { 2 public: 3 bool is...
分类:
其他好文 时间:
2014-09-07 20:57:25
阅读次数:
206
原文地址:http://www.cplusplus.com/reference/thread/thread/joinable/
public member function
std::thread::joinable
bool joinable() const noexcept;
Check if joinable
Returns whether the th...
分类:
编程语言 时间:
2014-09-04 19:04:30
阅读次数:
305
INSERT INTO QCircle.qc_news_center_timing (`name`,info,creat_time,whether_timing,timing_publish_time,publisher,isdelete,news_type,u_id,circle_id,wheth...
分类:
数据库 时间:
2014-09-04 18:24:09
阅读次数:
325
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-09-03 10:49:16
阅读次数:
176
Before you do this, you should be in a GOME or KDE environment, then type the following commands to check whether you've stalled the app:$ type evince...
分类:
系统相关 时间:
2014-08-31 17:01:21
阅读次数:
224
LeetCode: Interleaving StringGiven s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca"...
分类:
其他好文 时间:
2014-08-29 00:01:09
阅读次数:
282
LeetCode: Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is...
分类:
其他好文 时间:
2014-08-28 22:41:16
阅读次数:
243
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-08-28 21:01:06
阅读次数:
179