1543: 字符串的运算再现 题目描述 我们对字符串 S 做了以下定义:1. S ^ k表示由k个字符串S构成的新字符串。 例如, S = "abc", k = 3, 则S ^ k = "abcabcabc"2. Subsequence(S) 表示由字符串S的所有非空子序列构成的字符串集合。例如, ...
分类:
其他好文 时间:
2017-08-24 17:52:52
阅读次数:
129
Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is formed from t ...
分类:
其他好文 时间:
2017-08-24 10:43:40
阅读次数:
244
Given an array, find the longest increasing subsequence in this array. The same problem link. [LintCode] Longest Increasing Subsequence ...
分类:
其他好文 时间:
2017-08-24 10:31:38
阅读次数:
95
Maximum repetition substring The repetition number of a string is defined as the maximum number R such that the string can be partitioned into R same ...
分类:
编程语言 时间:
2017-08-23 18:14:43
阅读次数:
232
传送门 题意:it will be a strictly decreasing sequence from the 1st maximum , 2nd maximum .. to the K-th maximum. If the total number of different values is ...
分类:
其他好文 时间:
2017-08-23 00:50:33
阅读次数:
115
1.移动端开发视窗口的添加 h5端开发下面这段话是必须配置的 1 1 其它相关配置内容如下: width viewport 宽度(数值/device-width) height viewport 高度(数值/device-height) initial-scale 初始缩放比例 maximum-sc ...
分类:
移动开发 时间:
2017-08-22 19:10:16
阅读次数:
246
Given an array of positive number, find maximum sum subsequence such that elements in this subsequence are not adjacent to each other. Recursive formu ...
分类:
其他好文 时间:
2017-08-22 13:55:00
阅读次数:
179
Find longest bitonic subsequence in given array. Bitonic subsequence first increases then decreases. Same problem link Longest Bitonic Subsequence ...
分类:
其他好文 时间:
2017-08-22 13:16:35
阅读次数:
138
viewport 视口(可视区窗口)设置详解 当我们试图在iPhone中输出屏幕宽度的时候,会发现屏幕宽度是980,居然和pc屏幕宽度差不多大 苹果主导的这些手机厂商,为了使用户获得完整的WEB体验,很多设备都会欺骗浏览器返回一个数值较大的视口,告诉浏览器,别以为我身子小,但是我想以980px宽度显 ...
分类:
移动开发 时间:
2017-08-22 01:51:58
阅读次数:
432
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale ...
分类:
Web程序 时间:
2017-08-21 19:40:32
阅读次数:
332