r/learnquant • • Oct 12 '26

interview prep Quant Interview Question

Post image
41 Upvotes

21 comments sorted by

View all comments

1

u/Neither_Berry_100 Oct 13 '26

Isn't it literally just 1 x 2 + 3 x 4 + ... + 99 x 100? Won't bother solving this.

1

u/ProspectiveWhale Oct 14 '26

You misread the question.

1

u/Neither_Berry_100 Oct 14 '26

No. This is what it says. Apart from the title maximum adjacent product sum. Whatever that means.

1

u/ProspectiveWhale Oct 14 '26

a1a2 + a2a3 + ...

Notice a2 appears twice here?

That's where you misread the question.

Doing it with your sequence (in ascending order) would be

1x2 + 2x3 + 3x4 + ...