We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I didn't know about that, so i followed my intuition and ended up creating a method to map from N to the n'th lexicographic permutation, I'm happy to see that both methods are the same! It was awesome to conclude it on my own
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #24: Lexicographic permutations
You are viewing a single comment's thread. Return to all comments →
I didn't know about that, so i followed my intuition and ended up creating a method to map from N to the n'th lexicographic permutation, I'm happy to see that both methods are the same! It was awesome to conclude it on my own