Combinatorica`
Combinatorica`
Runs
Runs[p]
partitions p into contiguous increasing subsequences.
Details and Options
- To use Runs, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Runs[p]
partitions p into contiguous increasing subsequences.