摘要: Determine whether an integer is a palindrome. Do this without extra space. 阅读全文
posted @ 2017-05-04 23:00 JeffLai 阅读(171) 评论(3) 推荐(0) 编辑
摘要: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases. Notes: It is intended for this problem to be specified vaguely (ie, no given input specs). You are responsible to gather all the input requirements up front. 阅读全文
posted @ 2017-05-04 22:05 JeffLai 阅读(211) 评论(2) 推荐(0) 编辑
摘要: Reverse digits of an integer. 阅读全文
posted @ 2017-05-04 21:38 JeffLai 阅读(286) 评论(6) 推荐(1) 编辑
摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) 阅读全文
posted @ 2017-05-04 21:20 JeffLai 阅读(156) 评论(0) 推荐(0) 编辑
摘要: TCP/IP详解卷一,从入门到放弃。实在坚持不下去了,本来都准备换书了,结果今天头条面试又问到了TCP相关内容。 那就再坚持一下吧。把TCP相关内容,做一个简单的整理吧。算是读书笔记,毕竟只看书不记点什么的话,容易犯困。。 阅读全文
posted @ 2017-05-04 10:10 JeffLai 阅读(914) 评论(0) 推荐(0) 编辑