if end is - 1 : means we have reached end without the sum
if ( end == - 1 ) { Console . WriteLine ( " No ▁ subarray ▁ with ▁ given ▁ sum ▁ exists " ) ; } else { Console . WriteLine ( " Sum ▁ found ▁ between ▁ indexes ▁ " + start + " ▁ to ▁ " + end ) ; } }