Akamai interview question

find continuous subarray of ints that sum to a key