Тёмный

Subarray with given Sum | Python Code 

nETSETOS
Подписаться 16 тыс.
Просмотров 11 тыс.
50% 1

This video explains how to find a subarray from a given array having sum equals to a given sum value.
This problem is simple to solve but has been very frequently asked in programming interview rounds.
If you find any difficulty or have any query then comment below..
GitHub Link for Python Code - github.com/net...
#subarray #sum #python

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@sanjaybalaji6506
@sanjaybalaji6506 Год назад
Pls post videos daily you are the best explainer I have ever seen.
@yaminikoneti5091
@yaminikoneti5091 Год назад
i have a doubt, the dictionary cannot have same keys, so here for index0 the sum is 10 and and we are storing as the key, also the index 3 we have sum 10 that is being stored as key.
@francescojamesfanti6430
@francescojamesfanti6430 2 года назад
i was given a practice exercise at university were i should count in how many ways i can form a subarray that does the given sum. I have to do it in an efficient way and that seems the right way, but i cannot count right. (the array has zeroes and positive integers)
@Ajay-rq4wd
@Ajay-rq4wd 2 года назад
Good explanation all the best
@shilpagopal6937
@shilpagopal6937 3 года назад
Tqs for this video.... U were my savior....
@nETSETOStECH
@nETSETOStECH 3 года назад
Welcome 😀
@pritammishra9850
@pritammishra9850 4 года назад
Grreatly beneficial
@nETSETOStECH
@nETSETOStECH 4 года назад
Thank you!
@canopus3310
@canopus3310 4 года назад
love your explanation❤
@sreelekshmiajaykumar3297
@sreelekshmiajaykumar3297 4 года назад
So the line 10's print statement prints the value in the dictionary right?
@practicalbong1497
@practicalbong1497 3 года назад
you are great
@jeevapriya4853
@jeevapriya4853 4 года назад
Mam plz make videos on data structures graphs like topological sort nd those similar kind algo's
@nETSETOStECH
@nETSETOStECH 4 года назад
Yes. I will Upload soon
@jeevapriya4853
@jeevapriya4853 4 года назад
Tq u mam
@pritammishra9850
@pritammishra9850 4 года назад
Can you please make a video on finding kth largest element in an array...I'm getting confusee
@pratheeeeeesh4839
@pratheeeeeesh4839 11 месяцев назад
Use quick select algo!
@Knowledgeon541
@Knowledgeon541 7 месяцев назад
@Prat-zi1ou
@Prat-zi1ou 2 года назад
Use 1.5 x
@ChandanKumar-em8zg
@ChandanKumar-em8zg 2 года назад
2
Далее
Leetcode #152 Maximum Product Subarray
11:40
Просмотров 2,2 тыс.
Vibes in Ney York🗽❤️! #shorts
00:26
Просмотров 21 млн
World’s Tallest Man VS Shortest Woman!
15:07
Просмотров 17 млн
Subarray with given sum
5:04
Просмотров 196 тыс.
Count Subarray sum Equals K | Brute - Better -Optimal
24:09
Kadanes algorithm | Longest sum contiguous subarray
7:51
Vibes in Ney York🗽❤️! #shorts
00:26
Просмотров 21 млн