Domanda di colloquio di TCS Communications

In an unsorted array find subbarrays with sum equal to given target