码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
jquery实现 复选框 全选
1 $("#checkAll").change(function () {2 $(this).closest("table")3 .find(":checkbox:not(:first)")4 .prop("chec...
分类:Web程序   时间:2015-07-13 15:36:53    阅读次数:136
[LeetCode][Java] 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. The same repeated number may be chosen from C unlim...
分类:编程语言   时间:2015-07-13 14:14:44    阅读次数:313
[LeetCode][Java] Combination Sum II
题目: 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 used once in th...
分类:编程语言   时间:2015-07-13 14:12:12    阅读次数:172
Find Minimum in Rotated Sorted Array
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ 1 class Solution { 2 public: 3 int findMin(vector& nums) { 4 int size=...
分类:其他好文   时间:2015-07-13 13:45:49    阅读次数:118
shell学习四十五天----xargs
执行命令:xargs 当find产生一个文件列表时,该列表提供给另一个命令有时是很有用的. 案例: $touch abc.c erd.c oiy.c $ll ./erd.c ./abc.c ./oiy.c $find -name '*.c'| rm rm: 缺少操作数 请尝试执行"rm --help"来获取更多信息。 $find -name '*.c'| xargs rm ...
分类:系统相关   时间:2015-07-13 12:12:24    阅读次数:149
LeetCode——Longest Consecutive Sequence
Longest Consecutive Sequence 首先补充一些map的用法begin,end,rbegin,rend,empty,clear,size,max_size 八个常用的函数.map.begin(); 是map的起始位置map.end(); 是指map的尾部,没有实际元素.map.find(); 查找函数map.rebgin()和.rend()是反向遍历数据的起始位置和终止位置...
分类:其他好文   时间:2015-07-13 12:06:26    阅读次数:100
Leetcode 236 Lowest Common Ancestor of a Binary Tree
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to thedefinition of LCA on Wikipedia: “The lowest ...
分类:其他好文   时间:2015-07-13 11:35:02    阅读次数:88
18 4Sum
18 4Sum链接:https://leetcode.com/problems/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 w...
分类:其他好文   时间:2015-07-13 10:29:38    阅读次数:120
【LeetCode】236. Lowest Common Ancestor of a Binary Tree
Lowest Common Ancestor of a Binary TreeGiven a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to thedefin...
分类:其他好文   时间:2015-07-13 10:09:10    阅读次数:107
[LeetCode] Contains Duplicate II
Given an array of integers and an integerk, find out whether there there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the d...
分类:其他好文   时间:2015-07-13 10:06:31    阅读次数:74
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!