MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1y7vvhx/quant_interview_question/19tev4w0his1v/?context=3
r/learnquant • u/Local_Ad135 • 4d ago
20 comments sorted by
View all comments
1
x(x-1) = (xC2)*2
Hence the value of 100x99 + 99x98 + ….= 2 x (summation of nC2) for 2 to 100.
=(k-1)(k)(k+1)/3 for k = 100
You need to subtract the value of k=1 (ie 0).I think this approach is faster if you revise Basic summations
View all comments
1
u/RhubarbNo8040 3d ago
x(x-1) = (xC2)*2
Hence the value of 100x99 + 99x98 + ….
= 2 x (summation of nC2) for 2 to 100.
=(k-1)(k)(k+1)/3 for k = 100
You need to subtract the value of k=1 (ie 0).
I think this approach is faster if you revise Basic summations