码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
Ubuntu下Zabbix安装及使用问题
1.configure: error: MySQL library not found MySQL library not found apt-get install libmysqlclient-dev 2.configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config apt-get install...
分类:系统相关   时间:2015-06-11 19:32:32    阅读次数:176
LeetCode153:Find Minimum in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. You may assume no duplicate exists in...
分类:其他好文   时间:2015-06-11 19:29:46    阅读次数:140
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 leaf node.求最大深度,用递归的方法/** * Definition for a binary...
分类:其他好文   时间:2015-06-11 19:26:53    阅读次数:126
Latched 3 Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-06-11 18:25:40    阅读次数:104
bat 脚本处理windows 文件
背景:以下脚本使用了导出文件列表、移动文件、复制文件、report 系统信息、分段执行的功能主要针对在从事于Easeware公司中,对软件Bug中,所需文件的提取。代码片段说明:cls ver | find "5.1." > NUL && goto win_xp:win_xp## 判断出用户操作系....
分类:Windows程序   时间:2015-06-11 16:41:38    阅读次数:328
No.219 Contains Duplicate ||
No.219 Contains Duplicate ||Given an array of integers and an integerk, find out whether there there are two distinct indicesiandjin the array such th...
分类:其他好文   时间:2015-06-11 16:36:16    阅读次数:136
Leetcode 1 Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-06-11 16:12:11    阅读次数:104
Leetcode[154]-Find Minimum in Rotated Sorted Array II
Follow up for "Find Minimum in Rotated Sorted Array": What if duplicates are allowed?Would this affect the run-time complexity? How and why? Suppose a sorted array is rotated at some pivot unknown to y...
分类:其他好文   时间:2015-06-11 14:47:30    阅读次数:101
Leetcode[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 overall run time complexity should be O(log (m+n)).思路:先将两个数组合并,然后排序,最后找中位数中位数:若有n...
分类:其他好文   时间:2015-06-11 14:45:57    阅读次数:90
30个实用的Linux find命令示例
除了在一个目录结构下查找文件这种基本的操作,你还可以用find命令实现一些实用的操作,使你的命令行之旅更加简易。本文将介绍15种无论是于新手还是老鸟都非常有用的Linux find命令。首先,在你的home目录下面创建下面的空文件,来测试下面的find命令示例。1234567891011121314...
分类:系统相关   时间:2015-06-11 14:27:54    阅读次数:98
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!