【发布时间】:2016-06-12 20:39:26
【问题描述】:
我有一个长度为1的序列,即
1
现在我可以说上面序列中长度为 1 的longest increasing subsequence 是1。而上述序列中长度为1的longest decreasing subsequence是1?
【问题讨论】:
-
是的,如果您删除“长度为 1”,因为这与“最长”组合没有意义。
标签: algorithm computer-science subsequence