Want quant roles sent to your inbox?

Get quant job listings, interview prep resources, and industry news delivered to you for free.

No spam. Unsubscribe anytime.

Interview Question

Sock Colors

Work through the prompt below, check your answer, and reveal the full solution when you're ready.

Interview Question
Difficulty: Hard
← Back
Question

Sock Colors

You are in possession of n pairs of socks (hence a total of 2n socks) ranging in shades of grey, labeled from 1 (white) to n (black). Take the socks blindly from a drawer and pair them at random. What is the probability that they are paired so that the colors of any pair differ by at most 1? You must give an explicit formula.

Join our Newsletter and Receive the Latest Updates!

Main Links

Academy 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.