Priceline.com Interview Question

Coding exercise to loop trough collection and add the elements, something basic like that - yes, that basic, they just look for syntax I guess