Skip to content

rfrm/lexicographic-permutations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  • Compile with: $ make
  • Run with: $ lab <basestring> <permutation_size>

example:

$ lab AABBC 3

gives:

AAB AAC ABA ABB ABC ACA ACB BAA BAB BAC BBA BBB BBC BCA BCB CAA CAB CBA CBB

About

Generate permutations of a string in lexicographic order

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published