会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
blue_whale
博客园
首页
新随笔
联系
订阅
管理
06 2014 档案
最长递增子串和最长递增子序列
摘要:1. 给定一个长度为N的数组,找出一个最长的单调自增子串(连续)#要求必须连续def get_max_increasing_continuous_substr(arr): start = 0 pos = 0 length = 1 res = [] while pos ...
阅读全文
posted @
2014-06-11 20:27
blue_whale
阅读(1675)
评论(0)
推荐(0)
公告