Combinatorica`
Combinatorica`

LongestIncreasingSubsequence

LongestIncreasingSubsequence[p]

finds the longest increasing scattered subsequence of permutation p.

Details

See Also

Inversions  TableauClasses  Runs

Tutorials