MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1y7vvhx/quant_interview_question/19td90gy4t5z7/
r/learnquant • u/Local_Ad135 • 4d ago
20 comments sorted by
View all comments
Show parent comment
1
what you've written is much closer but not quite optimal.
1 u/notsaneatall_ 4d ago I never said what I wrote was optimal, I was pretty sure it wasn't.I suspect the optimal sequence is something like 2,4,6...100,99,97,95,93...1 or something like that
I never said what I wrote was optimal, I was pretty sure it wasn't.
I suspect the optimal sequence is something like 2,4,6...100,99,97,95,93...1 or something like that
View all comments
Show parent comment
1
u/Icy-Landscape-4796 4d ago
what you've written is much closer but not quite optimal.