码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
[Leetcode] 旋转问题(旋转数组的查找,旋转list,旋转矩阵)
[1] Search in Rotated Sorted Array[2] Search in Rotated Sorted Array II[3] Find Minimum in Rotated Sorted Array[4] Find Minimum in Rotated Sorted Arra...
分类:编程语言   时间:2015-08-16 12:01:31    阅读次数:177
HDU 1796 How many integers can you find
How many integers can you find Now you get a number N, and a M-integers set, you should find out how many integers which are small than N, that they can divided exactly by any integers in the set. For example, N=12, and M-integer set is {2,3}, so there i...
分类:其他好文   时间:2015-08-16 10:49:13    阅读次数:137
HDU 1796 How many integers can you find (lcm + 容斥)
HDU 1796 How many integers can you find (lcm + 容斥)...
分类:其他好文   时间:2015-08-16 10:44:29    阅读次数:90
Centos下删除文件名乱码文件
centos下通过rm命令来删除文件,但是如果要删除文件名乱码的文件,就不能直接使用rm命令了,因为压根就无法输出文件名来。不过借助find命令可以实现对其删除。在linux下对于每个文件都一个对应的不变的inode号,使用 ls -li 可以查看到文件的inode号,同时find可以根据inode...
分类:其他好文   时间:2015-08-16 07:07:46    阅读次数:114
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 numbers such that they add up to the targe...
分类:其他好文   时间:2015-08-16 02:10:26    阅读次数:172
Linux文件查找
文件查找1、locate根据全系统文件数据库进行查找(非实时的,系统每天特定时间对系统中所有文件都进行收集存库)(非实时模糊查找)update手动生成文件数据库(运行一遍要很长时间)2、find(实时精确遍历系统目录文件)使用方法:find查找路径查找标准查找后的处理动作查找路径:..
分类:系统相关   时间:2015-08-16 00:50:32    阅读次数:164
[LeetCode][JavaScript]Max Points on a Line
Max Points on a LineGivennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.求有多少点在一直线上。粗暴地用二重循环遍历。每一轮都构造一个哈希表...
分类:编程语言   时间:2015-08-16 00:39:26    阅读次数:145
【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 le...
分类:其他好文   时间:2015-08-15 22:42:42    阅读次数:138
LeetCode(169)Majority Element
题目Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times.You may assume that the array is non-empty and the majority element alway...
分类:其他好文   时间:2015-08-15 21:32:38    阅读次数:152
Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2015-08-15 21:22:37    阅读次数:112
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!