摘要: Given an unsorted array of integers, find the length of longest increasing subsequence. 找数组中最长的升序序列,不需要连续。 从前往后遍历数组,然后用一个数组保存当前的升序序列。对于每一个数,都找到目前升序序列中 阅读全文
posted @ 2018-07-14 21:04 Zzz...y 阅读(130) 评论(0) 推荐(0) 编辑