← Back to Jump Trading Interview Questions

Question

Six parcels are waiting in a depot, each meant for a different destination. Someone has randomly reassigned the six destination tags, with every one-to-one assignment equally likely. A worker must restore the correct labels.

Following a chain of wrong tags eventually returns to its starting parcel: that chain is a cycle. One sorting tray, costing $12 to prepare, lets the worker correct an entire cycle of length two or more, however long it is. A parcel already carrying its correct tag is a one-parcel cycle and needs no tray. There are no other correction costs.

Before seeing the assignment, how many trays does the depot expect to need, and what is its expected setup bill? Derive the result rather than counting only the number of wrong tags.

Hint 1

A permutation splits uniquely into disjoint cycles. Count all cycles first, then subtract the fixed points (already correct parcels).

Construct a uniform permutation of \(n\) labels from one on \(n-1\) labels: either make \(n\) a new singleton cycle (probability \(1/n\)), or insert it after one of the other \(n-1\) labels in an existing cycle. What recurrence follows?

Check your answer

Join our Newsletter and Receive the Latest Updates!

Main Links

Trade Courses Assessments Interview Prep Contact Us

Social Media

Facebook Instagram YouTube

Legal

Terms and Conditions Privacy Policy Privacy settings

Talent Acquisition

Looking to hire exceptional quant talent?
See how we can help.

© 2026 EverythingQuant. All Rights Reserved.