码迷,mamicode.com
首页 >  
搜索关键字:find exec xargs    ( 31575个结果
[leetcod]Substring with Concatenation of All Words
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatena...
分类:其他好文   时间:2014-06-27 12:44:16    阅读次数:226
[leetcode] First Missing Positive
Given an unsorted integer array, find the first missing positive integer.
分类:其他好文   时间:2014-06-27 12:39:02    阅读次数:185
[leetcode] 3Sum
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 ...
分类:其他好文   时间:2014-06-27 12:27:28    阅读次数:169
[leetcode] 4Sum
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
分类:其他好文   时间:2014-06-27 12:13:18    阅读次数:207
[leetcode] Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
分类:其他好文   时间:2014-06-27 12:11:50    阅读次数:337
LeetCode OJ - Median of Two Sorted Arrays
题目:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should ...
分类:其他好文   时间:2014-06-27 11:55:43    阅读次数:187
MongoDB基础知识
一、基本操作1)创建> post={"title":"MyBlog Post", "content":"Here's my blog post.", "date":new Date()}> db.blog.insert(post)2)查看> db.blog.find()或者 db.blog.find...
分类:数据库   时间:2014-06-27 11:22:03    阅读次数:254
Substring with Concatenation of All Words
题目 You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once an...
分类:其他好文   时间:2014-06-27 10:24:26    阅读次数:219
LeetCode——Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Find the tota...
分类:其他好文   时间:2014-06-27 09:53:29    阅读次数:208
First Missing Positive
题目 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 in O(n) time and u...
分类:其他好文   时间:2014-06-27 08:30:30    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!