码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
LeetCode - Path Sum II
题目:Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree and s...
分类:其他好文   时间:2016-01-10 14:13:53    阅读次数:144
linxu scp命令
\svn 删除所有的 .svn文件find . -name .svn -type d -exec rm -fr {} \;linux之cp/scp命令+scp命令详解名称:cp使用权限:所有使用者使用方式:cp [options] source destcp [options] source... ...
分类:其他好文   时间:2016-01-10 12:55:03    阅读次数:173
LeetCode(14):Longest Common Prefix
Longest Common Prefix:Write a function to find the longest common prefix string amongst an array of strings. 题意:查找一个字符串数组中的字符串的最长公共子序列。 思路:首先查找字符串数组中,...
分类:其他好文   时间:2016-01-10 10:29:45    阅读次数:137
真机调试以及“Could not find Developer Disk Image”问题解决方案
真机测试步骤1.运行Xcode,Xcode打开后,点左上角菜单'Xcode',点'Preferences'。2.在打开的窗口中,点'Accounts',切换到账号页,然后点下面的'+'号,在弹出菜单中点击'Add Apple ID'。3.在弹出的对话框中,填入你的AppleID和密码(不需要$99的...
分类:其他好文   时间:2016-01-10 00:26:24    阅读次数:272
Python与数据库
本来想用下MySQLdb这个包来连接数据库,没想到这包还有没出适合Python3.5.1的版本,安装过程中提示: C:\Users\Melody>pip install mysqldbCollecting mysqldb Could not find a version that satis...
分类:数据库   时间:2016-01-09 21:42:13    阅读次数:390
Contains Duplicate leetcode
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr...
分类:其他好文   时间:2016-01-09 17:05:03    阅读次数:142
Contains Duplicate II leetcode
Given an array of integers and an integerk, find out whether there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the differe...
分类:其他好文   时间:2016-01-09 17:03:27    阅读次数:147
linux下基于rsync + find命令实现文件同步机制
rsync和find是linux系统自带的命令,如果没有安装可以找到系统安装盘或者ISO文件,里面有rpm包,安装一下就可以了。 具体思路如下: 1)可以实现定时进行rsync。系统定时任务可以搞定这个事,具体可参见下面的网址: 例如: #crontab -e ...
分类:系统相关   时间:2016-01-09 16:41:44    阅读次数:411
并查集模板
/*并查集 */#include #include #include #define N 100010#define INF 0x3f3f3f3fint father[N],a[N];int find(int x){ return x==father[x]?x:(father[x]=f...
分类:其他好文   时间:2016-01-09 16:38:52    阅读次数:126
MongoDB文档基本操作
一、插入文档使用insert()或save()方法向集合插入文档>db.COLLECTION_NAME.insert(document)详细用法可以参考MongoDB菜鸟教程二、查找文档find()以非结构化的方式显示集合中所有文档>db.COLLECTION_NAME.find()如要以格式化的方...
分类:数据库   时间:2016-01-09 13:44:55    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!