目录1.block chain1.Block ChainBlocks in the main chain (black) are the longest series of blocks that go from the genesis block (green) to the current bl...
分类:
其他好文 时间:
2015-05-05 16:09:27
阅读次数:
117
https://leetcode.com/problems/longest-common-prefix/Write a function to find the longest common prefix string amongst an array of strings 1 public cla...
分类:
其他好文 时间:
2015-05-04 23:58:12
阅读次数:
271
小二好久没有更新博客了,真是罪过,最近在看linux的东西导致进度耽搁了,所以今晚睡觉前怒刷一题!问题描述:Write a function to find the longest common prefix string amongst an array of strings.解题思路:该问题就是...
分类:
编程语言 时间:
2015-05-04 01:12:56
阅读次数:
534
https://leetcode.com/problems/longest-substring-without-repeating-characters/Given a string, find the length of the longest substring without repeatin...
分类:
其他好文 时间:
2015-05-03 13:14:25
阅读次数:
121
Title:http://poj.org/problem?id=2533DescriptionA numeric sequence ofaiis ordered ifa1= A[i] ,则D[i] = 1int main(){ int a[SIZE]; int d[SIZE]; i...
分类:
其他好文 时间:
2015-05-02 21:53:50
阅读次数:
143
class Solution {public: string longestPalindrome(string s) { int length=s.length(); int maxlen=0; int start=0; bool fla...
分类:
其他好文 时间:
2015-05-02 18:05:53
阅读次数:
116
N - Longest Ordered Subsequence
Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status Practice POJ 2533
Description
A numeric sequence of ai is ordered if a1 < a2 < ...
分类:
其他好文 时间:
2015-05-02 11:14:23
阅读次数:
125
2015-5-1android 广播机制5.1简介分为标准广播(Normal broadcasts)(无先后顺序,几乎同时接收,不可截断)和有序广播(Ordered broadcasts)(有先后顺序,可以截断)两种。5.2接收系统广播广播接收器对感兴趣的广播进行注册,这样就能监听到对应的广播,并在...
分类:
移动开发 时间:
2015-05-01 23:48:15
阅读次数:
260
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 ...
分类:
其他好文 时间:
2015-05-01 18:42:06
阅读次数:
121
Cutting Banner
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
A large banner with word CODEFORCES was ordered for the 1000-th o...
分类:
其他好文 时间:
2015-05-01 17:28:00
阅读次数:
159