r/learnquant • • 2d ago

interview prep Quant Interview Question

Post image
14 Upvotes

4 comments sorted by

View all comments

0

u/TechnicalSandwich544 1d ago

Alice wants to minimize the score sum of 4 possible square, so: 1 must be on the center; 2, 3, 4, 5 on the edges; 6, 7, 8, 9 on the corner.

The sum thus: 4*1 + 2*(2 + 3 + 4 + 5) + (6 + 7 + 8 + 9) = 62. By PHP, there is at least a square that scores at least 16. You can easily construct such grid.

1

u/Remarkable_Fee4136 1d ago

An example is (9,2,8),(4,1,5),(7,3,6)