Student Works interview question

Target sum in array of elements.