👩💻 Join our community of thousands of amazing developers!
Subarray with given sum Given an unsorted array A of size N that contains only non-negative integers, find a continuous sub-array which adds to a given number S. In case of multiple subarrays, return the subarray which comes first on moving from left to right. ...