Combinatorica`
Combinatorica`
NextLexicographicSubset
gives the lexicographic successor of subset s of set l.
Details and Options
- To use NextLexicographicSubset, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
gives the lexicographic successor of subset s of set l.