Nested Doll Nesting Puzzle

Nesting combinations with 7 Russian dolls is an easy quant interview question on Combinatorics, reported to have been seen at IMC.

Difficulty Easy Topic Combinatorics Reported at IMC

MyQuantPartner is not affiliated with, endorsed by, or sponsored by these companies, and all trademarks belong to their respective owners.

This combinatorics question is about counting how many structured configurations can be built from a set of distinct elements when an ordering is completely dictated by an inherent attribute. Instead of focusing on free permutations, it isolates situations where any chosen group has a unique admissible arrangement, turning the problem into one of selection under constraints. It is a classic flavor of discrete math puzzle that appears frequently in quant prep and interview practice.

It trains your ability to recognize when a counting problem collapses from permutations to subsets, and to translate a wordy setup into a clean combinatorial model. You practice spotting when the true decision is only which elements to include, then enforcing size restrictions on those choices.

This matters for quant interviews because recognizing structure quickly is central to fast mental math, probability modeling, and trading logic. Interviewers want to see that you do not brute-force arrangements when a simpler combinatorial insight is available. This skill transfers directly to option structuring, scenario counting, and risk aggregation problems that appear throughout quant interviews and technical screens.

What it tests

Whenever you have a collection of distinct objects and a rule that any subset (of at least a certain size) can be arranged in exactly one way to satisfy a strict ordering constraint, the total number of valid arrangements is determined by counting the number of qualifying subsets. The key is that the ordering is forced by the objects' inherent properties (such as size), so the only choice is which objects to include, not how to arrange them. This structure appears in problems where selection, not permutation, is the core decision, and the arrangement is uniquely determined by the selection. The principle holds because the constraint (e.g., strictly decreasing size) eliminates all but one possible order for any subset, reducing the problem to subset counting with size restrictions.

Practise this question with written feedback, or hear it in a spoken mock interview.

Get started free