LeetCode:Find the Difference 【问题再现】 Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling strin ...
分类:
其他好文 时间:
2016-09-24 21:47:09
阅读次数:
97
传送门 Description There is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: the difference b ...
分类:
其他好文 时间:
2016-09-22 13:17:43
阅读次数:
235
1.python的set和其他语言类似, 是一个无序不重复元素集, 基本功能包括关系测试和消除重复元素. 集合对象还支持union(联合), intersection(交), difference(差)和sysmmetric difference(对称差集)等数学运算. 2.sets 支持 x in ...
分类:
编程语言 时间:
2016-09-21 14:20:59
阅读次数:
201
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at ...
分类:
其他好文 时间:
2016-09-21 06:47:28
阅读次数:
111
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:
其他好文 时间:
2016-09-19 06:44:24
阅读次数:
133
The biggest architectural difference that exists between ASP.NET MVC and ASP.NET Web Forms is the neat separation between the two key phases of proces ...
分类:
Web程序 时间:
2016-09-14 19:04:08
阅读次数:
160
First, What is directive, what is the difference between component and directive. For my understanding, component is something like 'canvas', 'form', ...
分类:
其他好文 时间:
2016-09-14 07:15:38
阅读次数:
347
Description Given N numbers, X1, X2, ... , XN, let us calculate the difference of every pair of numbers: ∣Xi - Xj∣ (1 ≤ i < j ≤ N). We can get C(N,2) ...
分类:
其他好文 时间:
2016-09-13 16:04:16
阅读次数:
193
Given an array of integers, find the subarray with smallest sum. Return the sum of the subarray. Notice The subarray should contain one integer at lea ...
分类:
其他好文 时间:
2016-09-12 14:02:29
阅读次数:
152
Smallest Difference Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8463 Accepted: 2324 Description Given a number of distinct decimal digi ...
分类:
其他好文 时间:
2016-09-09 10:20:24
阅读次数:
164