Lexicographic Permutations
A permutation is an ordered arrangement of objects. For example, is one possible permutation of the digits , , and . If all of the permutations are listed numerically or alphabetically, we call it lexicographic order. The lexicographic permutations of , and are:
What is the millionth lexicographic permutation of the digits , , , , , , , , and ?
字典序排列
排列指的是将一组对象放置为特定的顺序。例如,是数字、、、的一个排列。将所有排列按照数字大小或字母先后进行排序称为字典序。数字、、的字典序排列是:
在数字、、、、、、、、、的字典序排列中,处于第一百万位的排列是什么?
Gitalking ...