Quant Memo
Brainteasers/●●●●

How many squares does a diagonal cross?

Asked at Jane Street, DE Shaw

Take a rectangle divided into a 15 by 36 grid of unit squares (15 rows, 36 columns). Draw the straight diagonal line from one corner to the opposite corner.

How many of the little unit squares does the diagonal pass through the interior of?

Your answer

More Brainteasers questions