码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
每天一个linux命令(18):locate 命令
locate 让使用者可以很快速的搜寻档案系统内是否有指定的档案。其方法是先建立一个包括系统内所有档案名称及路径的数据库,之后当寻找时就只需查询这个数据库,而不必实际深入档案系统之中了。在一般的 distribution 之中,数据库的建立都被放在 crontab 中自动执行。 1.命令格式: Lo ...
分类:系统相关   时间:2016-11-03 09:46:11    阅读次数:292
LeetCode 104. Maximum Depth of Binary Tree
Problem: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the f ...
分类:其他好文   时间:2016-11-03 09:30:34    阅读次数:171
java 字符串中是否有数字
http://www.cnblogs.com/zhangj95/p/4198822.html http://www.cnblogs.com/sunzn/archive/2013/07/12/3186518.html 参考: 在自己的例子里面,find起作用 ...
分类:编程语言   时间:2016-11-03 09:27:17    阅读次数:361
LeetCode 441. Arranging Coins
You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number ...
分类:其他好文   时间:2016-11-03 01:44:57    阅读次数:280
VC++6.0实现文本格式的转换保存
第一步: 建立mfc工程 第二步: 布置界面 第三步: 编辑按钮 下面是 选择对账文本并转换的代码实现 其中str_find_fild函数通过定义实现 class CReorderDataDlg : public CDialog { // Construction public: CReorderD ...
分类:编程语言   时间:2016-11-02 23:22:49    阅读次数:336
Longest common prefix | leetcode
Write a function to find the longest common prefix string amongst an array of strings. 思路:要去是寻找字符串vector里最长的公有前缀。 1。构造迭代器,遍历vector搜索最小string长度。然后从第一个字 ...
分类:其他好文   时间:2016-11-02 23:04:01    阅读次数:125
每天一个linux命令(17):whereis 命令
whereis命令只能用于程序名的搜索,而且只搜索二进制文件(参数-b)、man说明文件(参数-m)和源代码文件(参数-s)。如果省略参数,则返回所有信息。 和find相比,whereis查找的速度非常快,这是因为linux系统会将 系统内的所有文件都记录在一个数据库文件中,当使用whereis和下 ...
分类:系统相关   时间:2016-11-02 20:10:09    阅读次数:223
MongoDB常用操作命令大全
一、数据库常用命令1、Help查看命令提示 代码如下: helpdb.help();db.yourColl.help();db.youColl.find().help();rs.help(); 2、切换/创建数据库 代码如下: use yourDB; 当创建一个集合(table)的时候会自动创建当前 ...
分类:数据库   时间:2016-11-02 18:00:39    阅读次数:227
leetcode 120 Triangle ----- java
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:编程语言   时间:2016-11-02 17:53:54    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!