码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
111. Minimum Depth of Binary Tree java solutions
Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l ...
分类:编程语言   时间:2016-05-06 20:30:52    阅读次数:159
记一次线上服务器处理后门程序
现象:当日下午,通过监控报警得知,该台服务器的CPU使用率非常高,已接近100%,见下图:处理过程:1.立刻登录服务器,用top命令查看是什么原因导致CPU使用率飙升,见下图:2.发现.chinaz{1461058进程占据了97%的CPU,确定该进程是可疑进程3.在系统上使用find/-name".chianz"命..
分类:其他好文   时间:2016-05-06 19:45:35    阅读次数:141
219. Contains Duplicate II java solutions
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the ...
分类:编程语言   时间:2016-05-06 19:34:53    阅读次数:171
selenium,控制滚动条
今天写selenium用例的时候,遇见奇葩的问题,FF下是没有错误的,但是在chrome和ie下就会有问题,后来发现是 操作中点击一个按钮,在页面不可见,就会导致异常,解决方法如下: element = self.driver.find_element_by_id("id")self.driver. ...
分类:其他好文   时间:2016-05-06 19:18:15    阅读次数:102
并查集
并查集(Union-find Sets)是一种非常精巧而实用的数据结构,它主要用于处理一些不相交集合的合并问题。一些常见的用途有求连通子图、求最小生成树的 Kruskal 算法和求最近公共祖先(Least Common Ancestors, LCA)等。 使用并查集时,首先会存在一组不相交的动态集合 ...
分类:其他好文   时间:2016-05-06 19:09:48    阅读次数:164
Leet Code OJ 15. 3Sum[Difficulty: Medium]
题目: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note: Elements in a triplet (a,b,c) must...
分类:其他好文   时间:2016-05-06 16:01:48    阅读次数:113
【一天一道LeetCode】#40. Combination Sum II
一天一道LeetCode系列(一)题目 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be use...
分类:其他好文   时间:2016-05-06 15:35:39    阅读次数:146
HDOJ(HDU) 2138 How many prime numbers(素数-快速筛选没用上、)
Problem Description Give you a lot of positive integers, just to find out how many prime numbers there are.Input There are a lot of cases. In each case, there is an integer N representing the num...
分类:其他好文   时间:2016-05-06 15:23:44    阅读次数:114
Android Studio快捷键
Find - Ctrl+F Replace - Ctrl+R Find Next/Move to Next Occurence F3 Find Previous /Move to Previous Occurence Shift+F3 Find word at Caret - Ctrl+F3 Select All Occurences - Ctrl+Alt+Shift+J Add se...
分类:移动开发   时间:2016-05-06 15:13:03    阅读次数:358
【一天一道LeetCode】#41. First Missing Positive
一天一道LeetCode系列(一)题目 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run i...
分类:其他好文   时间:2016-05-06 14:50:16    阅读次数:95
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!