上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 阅读全文
posted @ 2017-05-06 13:03 JeffLai 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, such that the container contains the most water. Note: You may not slant the container and n is at least 2. 阅读全文
posted @ 2017-05-05 18:39 JeffLai 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Implement regular expression matching with support for '.' and '*'. 阅读全文
posted @ 2017-05-05 16:27 JeffLai 阅读(207) 评论(0) 推荐(0) 编辑
摘要: socket编程中listen函数分析 阅读全文
posted @ 2017-05-05 15:01 JeffLai 阅读(2237) 评论(0) 推荐(0) 编辑
摘要: socket编程中connect函数分析 阅读全文
posted @ 2017-05-05 11:37 JeffLai 阅读(4033) 评论(0) 推荐(2) 编辑
摘要: Determine whether an integer is a palindrome. Do this without extra space. 阅读全文
posted @ 2017-05-04 23:00 JeffLai 阅读(169) 评论(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 阅读(281) 评论(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 阅读(154) 评论(0) 推荐(0) 编辑
摘要: TCP/IP详解卷一,从入门到放弃。实在坚持不下去了,本来都准备换书了,结果今天头条面试又问到了TCP相关内容。 那就再坚持一下吧。把TCP相关内容,做一个简单的整理吧。算是读书笔记,毕竟只看书不记点什么的话,容易犯困。。 阅读全文
posted @ 2017-05-04 10:10 JeffLai 阅读(889) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 下一页