码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
[LeetCode] NO.104 Maximum Depth of Binary Tree
[题目] 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 farth ...
分类:其他好文   时间:2016-08-14 14:22:35    阅读次数:92
Leet Code: 4. Median of Two Sorted Arrays
4. Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The ...
分类:其他好文   时间:2016-08-14 14:16:51    阅读次数:120
EXCEL经纬度转化
=LEFT(A1,FIND("°",A1)-1)+MID(A1,FIND("°",A1)+1,FIND(CHAR(39),A1)-1-FIND("°",A1))/60+MID(A1,FIND(CHAR(39),A1)+1,FIND(CHAR(34),A1)-1-FIND(CHAR(39),A1))/... ...
分类:其他好文   时间:2016-08-14 13:07:51    阅读次数:153
bzoj1861[Zjoi2006]Book 书架
bzoj1861[Zjoi2006]Book 书架 题意: 维护一个序列,支持移动元素,查询元素是第几个,查询第k个元素编号。 题解: 可以用treap和splay,我写的是splay。移动元素就是先删一个节点在将这个节点插入到对应位置,注意各种分操作(如splay、find)的次序性。反思:本弱又 ...
分类:其他好文   时间:2016-08-14 09:05:34    阅读次数:202
find命令中选项-path和-prune的使用
在Windows中可以在某些路径中查找文件,也可以设定不在某些路径中查找文件,下面用Linux中的find的命令结合其-path -prune参数来看看在Linux中怎么实现此功能。假如在当前目录下查找文件,且当前目录下有很多文件及目录(多层目录),包括dir0、dir1和dir2 ...等目录及d ...
分类:其他好文   时间:2016-08-14 07:53:50    阅读次数:134
1-12 RHEL7-find命令的使用
1、文件查找findfind命令是在目录结构中,搜索文件,并执行特定的操作find命令提供了相当多的查找条件,功能很强大 2、格式usage:find pathname -options[-print] find [-H] [-L] [-P] [-D debugopts] [-Olevel] [pa ...
分类:其他好文   时间:2016-08-14 07:53:49    阅读次数:217
binary-tree-maximum-path-sum-LeetCode
binary-tree-maximum-path-sum binary-tree-maximum-path-sum 题目描述 Given a binary tree, find the maximum path sum. The path may start and end at any node ...
分类:其他好文   时间:2016-08-14 07:17:05    阅读次数:139
并查集练习2(带权并查集)
明天旅游去爬山逛庙玩,今天练一天然后早早睡觉啦~ poj1703 Find them, Catch them (带权并查集) 1 #include<cstdio> 2 const int N=1e5+1; 3 int f[N]; 4 int r[N];//表示与父节点的关系,0同类,1不同类 5 i ...
分类:其他好文   时间:2016-08-13 22:39:07    阅读次数:422
leetcode 4. Median of Two Sorted Arrays
https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median o ...
分类:其他好文   时间:2016-08-13 21:09:11    阅读次数:101
leetcode 104. Maximum Depth of Binary Tree
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 farthest l ...
分类:其他好文   时间:2016-08-13 19:34:06    阅读次数:98
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!