Find a subarray with given sum from the given array

  
Your score is:       
Copy paste the above completed code in below IDE and run