Efficiently Summing the Highest Values in an Array With JS

Earlier today I ran into a problem posed as an interview question. At a glance it seems simple, but it's an open ended question. It leaves room for programmers to express different solutions and degrees of aptitude. The problem went... »