Sum to target

An interesting problem that I encountered recently: Given an array of numbers, find the 4 elements that sum up to a particular $S$. [more]