码迷,mamicode.com
首页 >  
搜索关键字:find peak element    ( 34692个结果
【LeetCode】Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-05-19 08:23:07    阅读次数:223
【LeetCode】Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-05-19 08:07:26    阅读次数:288
In-App Purchase Programming Guide----(六) ----Working with Subscriptions
Working with SubscriptionsApps that use subscriptions have some additional behaviors and considerations. Because subscriptions incorporate an element ...
分类:移动开发   时间:2014-05-18 19:49:05    阅读次数:548
【leetcode】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...
分类:其他好文   时间:2014-05-18 19:39:55    阅读次数:355
mongodb与SQL对应关系表
select查询 mongodb使用find或者findOne来查询: find批量查询。 findOne是查询一条记录。 find有两个参数: 第一个查询条件, 第二个查询返回的字段。 下面是mongodb与sql查询的对应关系表:...
分类:数据库   时间:2014-05-18 18:30:49    阅读次数:311
LeetCode: Substring with Concatenation of All Words [029]
【题目】 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 and without any intervening characters. For example, given: S:...
分类:其他好文   时间:2014-05-18 08:31:48    阅读次数:228
【LeetCode】Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-05-18 02:11:19    阅读次数:302
【LeetCode】Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-05-18 01:52:45    阅读次数:317
Leetcode | Remove Duplicates from Sorted List I && II
Remove Duplicates from Sorted List IGiven a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->...
分类:其他好文   时间:2014-05-18 01:41:31    阅读次数:361
2014第20周五
上午解决了一个问题是xml的解析,Ws接口返回值只有结点没有属性,所以开始调用Element的获取属性值方法总失败,后来突然想到结点没有属性的,我只是想去下级结点的值,然后调用了valueOf()传入指定的结点名称后成功。下午解决了Ws调用返回值处理问题,由于对方提供的Ws接口需要传入服务及参数名和...
分类:其他好文   时间:2014-05-17 22:01:55    阅读次数:329
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!