摘要:
Determine whether an integer is a palindrome. Do this without extra space. 阅读全文
摘要:
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. 阅读全文
摘要:
Reverse digits of an integer. 阅读全文
摘要:
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) 阅读全文
摘要:
TCP/IP详解卷一,从入门到放弃。实在坚持不下去了,本来都准备换书了,结果今天头条面试又问到了TCP相关内容。
那就再坚持一下吧。把TCP相关内容,做一个简单的整理吧。算是读书笔记,毕竟只看书不记点什么的话,容易犯困。。 阅读全文