Find subarray with given sum

preview_player
Показать описание
JOIN ME

Find subarray with given sum is a famous question for software engineering interviews. There can be many ways to solve this problem and I have discussed few and in the end you will see the best solution.

Please comment if you have doubts.

#datastructuresandalgorithms #datastructure #programming
Рекомендации по теме
Комментарии
Автор

pls correct line#9 it should be curr += arr[i];

ParvezKhanPK