全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Longest increasing subsequence?

Definition 23.9 University Computer Science — Year 1 · 第 23 章 — Dynamic Programming

A longest increasing subsequence of a sequence is a subsequence, its terms taken in their order but not necessarily adjacent, that is strictly increasing and of largest length.

Patience piles for 5, 2, 8, 6, 3, 6, 9, 7, 4, 10: each pile grows upwards and never increases from bottom to top. The number of piles is the length of a longest increasing subsequence.
Patience piles for 5,2,8,6,3,6,9,7,4,105, 2, 8, 6, 3, 6, 9, 7, 4, 10: each pile grows upwards and never increases from bottom to top. The number of piles is the length of a longest increasing subsequence.
在原文中阅读 →