69 799
Assignments Done
Successfully Done
In February 2019

Answer to Question #62768 in C++ for Hope

Question #62768
how to use a Factorial Number System for string in c++ ....?

As an example, say we want the 100th permutation of ABCDEF. We write 100 as


Building up the permutation one letter at a time:

0th element of [ABCDEF] = A
4th element of [BCDEF] = F
0th element of [BCDE] = B
2nd element of [CDE] = E
0th element of [CD] = C
last elemnet = [D]
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions