项目作者: PetePrattis

项目描述 :
First program accepts as an input a permutation and prints the permutation rank in the lexicpgraphic order of all same length permutations. Second program accepts two integers n and k as inputs and prints the permutation of [n] which is at position k in the lexicographic order of all its permutations of [n].
高级语言: Python
项目地址: git://github.com/PetePrattis/Permutations-and-Lexicographic-order.git
创建时间: 2019-10-14T09:54:24Z
项目社区:https://github.com/PetePrattis/Permutations-and-Lexicographic-order

开源协议:MIT License

下载