Given a set of distinct digits (e.g., 1, 2, 3, 4, 5), find the lexicographical rank of a specific permutation (e.g., 35421) when all possible permutations of these digits are arranged in increasing…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.