摘要: 一个是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) 编辑