Google interview question

Improve an existing algorithm for summation.