Turkish Project Euler Question 24 Lexicographic Permutation
Turkish Project Euler Question 24 Lexicographic Permutation
A permutation is the arrangement of objects in an ordered way. For example, the number 3214 is a permutation of the numbers 1, 2, 3, and 4. Numeric or alphabetical ordering is called lexicographic order. The lexicographic permutations of 0, 1, and 2 are as follows;
012 021 102 120 201 210
What is the 1,000,000th lexicographic permutation of the numbers 0,1,2,3,4,5,6,7,8, and 9?


Yorum Gönder