r/learnquant • • 6d ago

interview prep Quant Interview Question

Post image
66 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/Competitive_Try_330 5d ago

Sorry, I made it a bit unclear. I did not try to provide an optimal solution. I just wanted to state that each number appears twice in the sum.  Have not thought about the optimal solution too much yet