上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页
摘要: '?' Matches any single character.'*' Matches any sequence of characters(including the empty sequence). The matching should cover the entireinput strin... 阅读全文
posted @ 2015-08-15 11:01 gqtc 阅读(122) 评论(0) 推荐(0)
摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1,compute how much water it is able to trap after ra... 阅读全文
posted @ 2015-08-09 10:06 gqtc 阅读(113) 评论(0) 推荐(0)
摘要: 一:简介: tinyhttpd是由J. DavidBlackstone在1999年编写的,实现了一个很简单的web服务器。支持GET和POST方法,总代码量也就在500行左右,可以用来学习HTTP协议和UNIX系统调用。 http://tinyhttpd.sourcefo... 阅读全文
posted @ 2015-08-08 18:02 gqtc 阅读(510) 评论(0) 推荐(0)
摘要: Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm sho... 阅读全文
posted @ 2015-08-04 09:30 gqtc 阅读(112) 评论(0) 推荐(0)
摘要: 一:简介: Webbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码加起来不到600行。 ... 阅读全文
posted @ 2015-08-01 12:28 gqtc 阅读(366) 评论(0) 推荐(0)
摘要: 一:posix约定: 下面是POSIX标准中关于程序名、参数的约定: 程序名不宜少于2个字符且不多于9个字符; 程序名应只包含小写字母和阿拉伯数字; 选项名应该是单字符或单数字,且以短横 ‘-’ 为前綴; 多个不需要... 阅读全文
posted @ 2015-07-30 21:44 gqtc 阅读(1308) 评论(0) 推荐(0)
摘要: Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by thecharacter '.'.You may assume that there will be on... 阅读全文
posted @ 2015-07-28 22:03 gqtc 阅读(168) 评论(0) 推荐(0)
摘要: 一:字符编码简介 1:ASCII 最初的计算机的使用是在美国,所用到的字符也就是现在键盘上的一些符号和少数儿个特殊的符号,一个字节所就能足以容纳所有的这些字符,实际上表示这些字符的字节最高位都为0,也就是说这些字节都在0到127之间,如字符a对应数字97。这套编码规则被称为ASCII(美国标准信息交 阅读全文
posted @ 2015-07-26 16:15 gqtc 阅读(384) 评论(0) 推荐(0)
摘要: Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord... 阅读全文
posted @ 2015-07-20 12:45 gqtc 阅读(156) 评论(0) 推荐(0)
摘要: Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 01 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target value... 阅读全文
posted @ 2015-07-19 22:48 gqtc 阅读(111) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页