Interview Question of the day : Find subarray with given sum

One integer array is given. Find all subarrays equal to a given sum