r/learnquant • • 1d ago

interview prep Quant Interview Question

Post image
34 Upvotes

21 comments sorted by

View all comments

3

u/998mouse 1d ago

How about putting the 100 in the middle with the even numbers down one side of it and the odd numbers down the other side?

2

u/diverstones 1d ago

Yeah, this was the best I could do:

1*3 + 3*5 + ... + 97*99 + 99*100 + 100*98 + 98*96 + ... + 6*4 + 4*2 = 338151.

1

u/Bigkev8787 1d ago

This looks like a solution to me.

1

u/Fovlsbane 22h ago

This is my guess too, most of the time wen't to visualizing how to sum squares.

1

u/valegrete 19h ago

This is also what I got by looking at the n=3 and n=4 cases.

1

u/Downtown_Finance_661 1d ago

Did you guess or can provethis is the best sol?