会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我的天空
菜刀在手,谁主沉浮~
博客园
首页
新随笔
联系
管理
订阅
2014年9月28日
最长递增子序列
摘要: 一个是O(n^2)一个是O(logn*n)两者都需要临时空间#include using namespace std;//time complex:n^nint longest_increase_sequence(int a[], int n){ if(n==1) return ...
阅读全文
posted @ 2014-09-28 12:11 海滨银枪小霸王
阅读(117)
评论(0)
推荐(0)
编辑
公告