Amazon Interview Question

Find Indexes of a subarray with given sum