Given an array a[] = {1, 1 ,1 , -1} . you have to find all the subarrays of the given array whose sum is exactly = ****k.
There is an geeks_article for it but the explanation is not
good and clear and also without proof . Can anyone explain me how to solve this problem with some explanation !
Thanks !