Stick Cuts Triangle Puzzle
Probability three stick pieces form triangle is a medium quant interview question on Distributions.
This puzzle considers a stick that is cut at two random locations and asks for the chance that the three resulting pieces could form a valid triangle. It is a classic example of a continuous probability distribution problem, where randomness lives on an interval rather than a discrete set of outcomes. Candidates must reason about the space of all possible cut positions and identify which combinations satisfy a geometric condition. Variants of this style of question often appear in interviews for roles involving probabilistic modeling or statistical thinking, because they force you to encode an intuitive physical situation into a precise mathematical object.
Solving it leans heavily on geometric probability, change of variables, and working comfortably with inequalities that characterize feasible regions. An interviewer is looking for whether you can parametrize the outcome space, recognize symmetry or redundancy, and systematically translate the triangle condition into constraints on your variables. They will also watch how you visualize higher-dimensional regions, argue about uniformity, and move from a conceptual picture to an exact integral or area computation without getting lost in the algebra.
What it tests
Problems where a continuous object is divided at random points and a property is checked (such as forming a triangle) are governed by geometric probability. The core idea is to represent all possible outcomes as points in a region (often a square or cube) and then translate the property of interest into inequalities that define a subregion. The probability is then the ratio of the area (or volume) of this subregion to the total region. This works because uniform randomness in the cuts translates directly to uniform density over the configuration space, so geometric areas correspond to probabilities. The triangle inequalities, or any other constraints, become boundaries in this space, and the problem reduces to calculating the measure of the feasible set.
Practise this question with written feedback, or hear it in a spoken mock interview.
Get started free