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
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
Working with SubscriptionsApps that use
subscriptions have some additional behaviors and considerations. Because
subscriptions incorporate an element ...
分类:
移动开发 时间:
2014-05-18 19:49:05
阅读次数:
548
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
select查询
mongodb使用find或者findOne来查询:
find批量查询。
findOne是查询一条记录。
find有两个参数: 第一个查询条件, 第二个查询返回的字段。
下面是mongodb与sql查询的对应关系表:...
分类:
数据库 时间:
2014-05-18 18:30:49
阅读次数:
311
【题目】
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
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
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
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
上午解决了一个问题是xml的解析,Ws接口返回值只有结点没有属性,所以开始调用Element的获取属性值方法总失败,后来突然想到结点没有属性的,我只是想去下级结点的值,然后调用了valueOf()传入指定的结点名称后成功。下午解决了Ws调用返回值处理问题,由于对方提供的Ws接口需要传入服务及参数名和...
分类:
其他好文 时间:
2014-05-17 22:01:55
阅读次数:
329