Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Longest increasing subsequence?

Definition 23.9 University Computer Science — Year 1 · Hoofdstuk 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.
Lees in het hoofdstuk →