Bloomberg Interview Question

Given an array and a target. Find a continuous set in the array that its summary equals to the target.