Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
分类:
其他好文 时间:
2014-07-03 19:28:48
阅读次数:
160
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-07-03 19:24:36
阅读次数:
142
Given a binary tree, find its minimum depth.
分类:
其他好文 时间:
2014-07-03 18:54:32
阅读次数:
189
HDU 4003 Find Metal Mineral 树形dp...
分类:
其他好文 时间:
2014-07-03 17:27:48
阅读次数:
150
SPOJ Problem Set (classical)
694. Distinct Substrings
Problem code: DISUBSTR
Given a string, we need to find the total number of its distinct substrings.
Input
T- number of ...
分类:
其他好文 时间:
2014-07-03 16:32:42
阅读次数:
212
android4.4系统解决“ERRORcouldn't find native method”方法 今天笔者在移植一个tv模块从android4.2到android4.4系统的设备上,同样的代码,同样的方法,就是运行不起来。大概方法就是上层写一个apk,调用一个静态的java库,java库加载调用JNI的库文件,这一套代码在4.2上都是好好的,正常能跑,移到4.4上编译也都没...
分类:
移动开发 时间:
2014-07-03 16:30:04
阅读次数:
190
在一个字符串中求不重复子串的最大长度是一个经典的贪心法求解问题(说子串自然是连续的,子序列则不要求连续)。
先给出leetcode上这题的描述:
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring wit...
分类:
其他好文 时间:
2014-07-03 16:24:55
阅读次数:
281
语法:findpath-option[-print][-exec-okcommand]{}\;#-print将查找到的文件输出到标准输出#-execcommand{}\;-----将查到的文件执行command操作,{}和\;之间有空格#-ok和-exec相同,只不过在操作前要询用户-namefilename#查找名为filename的文件-perm#按执行权限来查找-useruser..
分类:
系统相关 时间:
2014-07-03 14:24:25
阅读次数:
278
Given a binary tree, find its maximum depth.
分类:
其他好文 时间:
2014-07-03 13:19:33
阅读次数:
251
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 concatenati...
分类:
其他好文 时间:
2014-07-03 12:32:26
阅读次数:
133