Question //Print subarrays whose sum is 10 using java
//
//
//[2, 3, 5, 4, 1, 5, 3]
//
Expected output: Subarray: 2 3 5 Subarray: 5 4 1 Subarray: 4 1 Recieved output:
SubArray found from index-11to2
SubArray found from index11to4
SubArray found from index21to5
Process finished with exit code 0