The Evaluation of an Alternative Sum With Applications to the Analysis of Some Data Structures