TL;DR
A permutation where no element appears in its original position. The number of derangements of n elements is \( D_n = n! \sum_{k=0}^n \frac{(-1)^k}{k!} \approx n!/e \).
Derangement
A permutation where no element appears in its original position. The number of derangements of n elements is \( D_n = n! \sum_{k=0}^n \frac{(-1)^k}{k!} \approx n!/e \).
Why it matters for interviews
Classic interview problem: what is the probability a random permutation has no fixed points? The answer \( \approx 1/e \) is elegant and appears in card shuffling, secret Santa, and matching problems.
Definition and Mathematical Foundation
A permutation where no element appears in its original position. The number of derangements of n elements is \( D_n = n! \sum_{k=0}^n \frac{(-1)^k}{k!} \approx n!/e \).
Application in Quantitative Finance
Classic interview problem: what is the probability a random permutation has no fixed points? The answer \( \approx 1/e \) is elegant and appears in card shuffling, secret Santa, and matching problems.
Related Concepts
Related Terms
Ready to practice for the Quant Trading Interview?
Adaptive practice powered by Item Response Theory targets your weak areas. Start with 3 free sessions.
Start free practice →