Given a sequence of N pairs of integers, find the length of the longest increasing subsequence of it. An increasing sequence A1..An is a sequence such ...
分类:
其他好文 时间:
2018-05-29 00:11:01
阅读次数:
119
[抄题]: [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空间分析: [奇葩输出条件]: [奇葩corner case]: [思维问题]: [英文数据结构或算法,为什么不用别的数据结构或算法]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异 ...
分类:
移动开发 时间:
2018-05-28 22:52:14
阅读次数:
453
know [v. ] 知道;知识;通晓 同义替换词: be aware of 形近词 knowledge [n. ] 知识;学识;知道 unknown [adj. ] 不知道;未知的 many [adj. ] 最多的;最大量的 [adv. ] 最;极其;非常 同义替换词: maximum 形近词 m ...
分类:
其他好文 时间:
2018-05-27 20:22:51
阅读次数:
145
题目:Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. E ...
分类:
其他好文 时间:
2018-05-27 15:39:22
阅读次数:
183
方法一:利用set 方法二:扫描数组,但是这里特殊情况很多,要注意通过标志位什么的予以解决 尤其是在原数组中含有INT_MIN时,很容易出问题,要注意排除。 ...
分类:
其他好文 时间:
2018-05-27 13:49:17
阅读次数:
145
utf-8 时变化长度的编码,储存一个code point 需要1~4个字节. 然而,mysql的utf8只存储最多3个字节per code point. 所以,utf8字符集不能存储所有的unicode code points. 只能从0x000 to 0xFFFF(叫做Basic Multili ...
分类:
数据库 时间:
2018-05-26 20:24:24
阅读次数:
157
问题描述: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 思路: 根据 ...
分类:
其他好文 时间:
2018-05-26 10:44:49
阅读次数:
162
AIX上增加逻辑卷时报错误0516-787 extendlv: Maximum allocation for logical volume lv_software is 512. 在往aix使用chfs -a size=xx /fs 命令增加逻辑卷的时候,有时
分类:
其他好文 时间:
2018-05-25 14:49:50
阅读次数:
118
看了下代码,大概是因为ios内置的系统会拦截audio的自动播放,所以需要一个交互,这个代码的交互就是当屏幕被touchstart之后开始加载音乐然后播放.转需 ...
分类:
移动开发 时间:
2018-05-25 14:05:12
阅读次数:
288
原题网址:https://www.lintcode.com/problem/maximum-subarray-difference/description 描述 给定一个整数数组,找出两个不重叠的子数组A和B,使两个子数组和的差的绝对值|SUM(A) - SUM(B)|最大。 返回这个最大的差值。 ...
分类:
编程语言 时间:
2018-05-25 00:24:39
阅读次数:
221