摘要: Given an array of characters, compress it in-place. The length after compression must always be smaller than or equal to the original array. Every ele 阅读全文
posted @ 2017-10-31 17:22 immjc 阅读(277) 评论(0) 推荐(0) 编辑
摘要: How would you print just the 10th line of a file? For example, assume that file.txt has the following content: Your script should output the tenth lin 阅读全文
posted @ 2017-10-31 15:59 immjc 阅读(119) 评论(0) 推荐(0) 编辑
摘要: We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11). N 阅读全文
posted @ 2017-10-31 15:46 immjc 阅读(479) 评论(0) 推荐(0) 编辑
摘要: HTTP 请求访问文本或图像等资源的一端称为客户端 提供资源响应的一端称为服务器端。 请求报文是由请求方法、请求URI、协议版本、可选的请求首部字段、内容实体 响应报文是由协议版本、状态码、原因短语、可选响应首部字段、实体 HTTP是一种无状态协议。 HTTP协议自身不具备保存之前发送过的请求或响应 阅读全文
posted @ 2017-10-31 15:18 immjc 阅读(164) 评论(0) 推荐(0) 编辑