Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorte...
分类:
其他好文 时间:
2014-07-07 16:53:17
阅读次数:
196
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?
分类:
其他好文 时间:
2014-07-07 13:07:00
阅读次数:
153
进行抓取页面,我看了一下人家的教程,一般要用到htmlparser用来解析html得到一个网页的相关链接,用httpclient抓取网页数据,下面是一我写的spider类package com.openzone.search.spider;import java.io.BufferedReader;...
分类:
编程语言 时间:
2014-07-01 21:43:29
阅读次数:
261
在eclipse中搜索时,搜索完之后有时候会弹出错误对话框,虽然错误内容有时候不同,但是解决办法都一样。这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse自动扫描添加的,如果在外部修改了工程目录中的文件但又关闭了自动刷新功能,则会引起文件不同步,从而搜索时...
分类:
系统相关 时间:
2014-07-01 20:38:43
阅读次数:
654
转自:http://blog.csdn.net/chen861201/article/details/7035021apt-cache search package 搜索包apt-cache show package 获取包的相关信息,如说明、大小、版本等sudo apt-get install p...
分类:
其他好文 时间:
2014-07-01 13:12:46
阅读次数:
258
https://oj.leetcode.com/problems/validate-binary-search-tree/1.中序遍历是否有序/** * Definition for binary tree * public class TreeNode { * int val; * ...
分类:
编程语言 时间:
2014-07-01 12:20:06
阅读次数:
173
公司要做一个项目,跟MP4有点关系,到网上找了规范文档看了看,理解还是不够深入。干脆花点时间做一个Parser,取名FileExpert,目前只支持解析ISO_IEC_14496-12的文件格式。取名成FileExpert的原因是因为想把它做成一个比较通用的框架,以后可以用于解析其他格式的文件。(以前曾经想过做一个小工具,解析一下PE文件格式。)
MP4文件就是一个个的box组合成的,b...
分类:
其他好文 时间:
2014-07-01 11:34:14
阅读次数:
148
0 0 0 0 1 0 0 0
1 0 0 0 0 0 0 0
0 0 0 1 0 1 F 0
0 1 0 1 0 0 0 0
0 0 0 1 0 0 0 0
0 S 0 1 0 0 1 0
0 0 0 0 0 0 1 0
0 0 0 0 0 0 1 0
namespace matrix
{...
分类:
其他好文 时间:
2014-07-01 07:14:32
阅读次数:
221
CSS3 box-orient 属性CSS 参考手册实例水平排列 div 元素的子元素:div{width:350px;height:100px;border:1px solid black;/* Firefox */display:-moz-box;-moz-box-orient:horizont...
分类:
Web程序 时间:
2014-06-29 19:50:04
阅读次数:
261
By default, Windows 7 index service will not go into LibreOffice files to search their contents. This can be enabled by installing a plugin at IFilter...