码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
LeetCode-Longest Increasing Subsequence
Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest i ...
分类:其他好文   时间:2016-08-01 10:24:06    阅读次数:140
操作数据库
操作数据库 $attr = $m->select(); //查询所有数据 $attr = $m->select("p001,p002,p003"); $attr = $m->find("p001"); //找特定的数据根据主键值找 where可以加查询条件 $attr = $m->where("co ...
分类:数据库   时间:2016-08-01 09:16:02    阅读次数:209
Palindrome Pairs
Given a list of unique words. Find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, i.e.words[i] + ...
分类:其他好文   时间:2016-08-01 01:44:48    阅读次数:338
PHP--TP框架----操作数据库
//操作数据库 //$attr = $m->select(); //查询所有数据 //$attr = $m->select("p001,p002,p003"); //$attr = $m->find("p001"); //找特定的数据根据主键值找 //where可以加查询条件 //$attr = $ ...
分类:数据库   时间:2016-08-01 00:20:21    阅读次数:195
Leetcode3 Longest Substring Without Repeating Characters
题意: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the ...
分类:其他好文   时间:2016-07-31 20:48:21    阅读次数:208
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 l ...
分类:其他好文   时间:2016-07-31 20:36:47    阅读次数:90
【leetcode79】Single Number III
题目描述:给定一个数组,里面只有两个数组,只是出现一次,其余的数字都是出现两次,找出这个两个数字,数组形式输出原文描述:Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two...
分类:其他好文   时间:2016-07-31 17:52:53    阅读次数:177
UVA 10100Longest Match
Longest Match A newly opened detective agency is struggling with their limited intelligence to find out a secret information passing technique among i ...
分类:其他好文   时间:2016-07-31 17:40:30    阅读次数:189
【leetcode78】Single Number II
题目描述:给定一个数组,里面除了一个数字,其他的都出现三次。求出这个数字原文描述:Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity....
分类:其他好文   时间:2016-07-31 16:00:13    阅读次数:120
找礼物(find)
找礼物(find) 题目描述 新年到了,你的好友和你(共K个人)的周围满是礼物,你让你的好友先拿,但是每个人只能拿当前离自己最近的礼物[当然如果有并列的多个礼物离你的距离相等(精确到小数点后四位,所有运算均为去尾),这些礼物就都属于这个人]。现在你们所在的位置是原点(0,0),每个礼物的位置用坐标表 ...
分类:其他好文   时间:2016-07-31 15:43:03    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!