Combinatorica`
Combinatorica`

Runs

Runs[p]

partitions p into contiguous increasing subsequences.

更多信息和选项