Тёмный

Capacity To Ship Packages Within D Days Leetcode 1011 Solution Binary Search Gfg Problem of the day 

Code with Alisha
Подписаться 29 тыс.
Просмотров 8 тыс.
50% 1

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

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@akashghosh4677
@akashghosh4677 2 года назад
I think you are the female version of Striver. Thanks for such clear explanation Alisha.
@souravmalik6120
@souravmalik6120 2 года назад
NOTE-- This question is same as Split Array Largest Sum problem.
@shaikabrarulhaq
@shaikabrarulhaq Год назад
A beauty with loads of talent. Subscribed !!
@MCA_himanshumehra
@MCA_himanshumehra Год назад
this solution is giving error in leetcode because instead of low=max and our max is zero; we should use int low = *max_element(weights.begin(), weights.end()); btw nice explanation .
@nishant5205
@nishant5205 Год назад
yeah... u r right
@AmitKumar-sl5ub
@AmitKumar-sl5ub Год назад
Thanks for making this video it really helps me a lot in understanding this question , very well explained 🙏🙏
@_lifestylefusion
@_lifestylefusion 2 года назад
your explanation of the solution to the problems has made my life easier. Thanks, Alisha
@probabilitycodingisfunis1
@probabilitycodingisfunis1 2 года назад
Welcome, glad you found them helpful!
@subhamjaiswal8382
@subhamjaiswal8382 2 года назад
The explanation is good and easy to understand. Thanks
@satyamgupta6030
@satyamgupta6030 Год назад
hi alisha just revisited the video I have a silly doubt this time (why we took int day = 1 initially inside bool func() ) instead of taking int day = 0. I saw this people generally take initial day or anything as 1 in similar binary search questions. Kindly please tell me why u guys do this? what is the intuition behind taking initial value as 1 instead of 0? thank you
@Karan-mp8vb
@Karan-mp8vb Год назад
the intuition behind this is lets suppose the minimum weight of the ship that could carry weight is 5 and in an array the elements are = [1,1,1,1,1] and you have to deliver it within 1 day. So the if condition will be executed according to the given condition sum + arr[i]
@satyamgupta6030
@satyamgupta6030 Год назад
thanks alot alisha ur solution is what I wait for.
@alokgautam02
@alokgautam02 Год назад
THanks for the explaination.
@doomhead9109
@doomhead9109 Год назад
Thanks
@VinodMuda
@VinodMuda Год назад
Very well explained!
@babushaikh6582
@babushaikh6582 2 года назад
Excellent explained. Add dry run of code in video's.
@kidoo1567
@kidoo1567 Год назад
Thanks alisa
@code-a-mania4100
@code-a-mania4100 Год назад
Mam such a great explanation... Thanks 🙂
@kalravsharma178
@kalravsharma178 Год назад
perfect as always👌
@gagnishgoyal7817
@gagnishgoyal7817 2 года назад
Best explanation
@funcode-tw3cg
@funcode-tw3cg Год назад
Excellent explaination sis 💯
@immasage8514
@immasage8514 2 года назад
thanks for the explanation
@mitulgarg26
@mitulgarg26 2 года назад
good explaination
@mohankumar-fm1kg
@mohankumar-fm1kg 2 года назад
good explanation..keep up
@maitreyikshetrapal1644
@maitreyikshetrapal1644 2 года назад
great video
@danussh
@danussh 2 года назад
Perfect explanation😍
@probabilitycodingisfunis1
@probabilitycodingisfunis1 2 года назад
Thank you! 😃
@anushree3744
@anushree3744 2 года назад
you earned a subscriber
@tombrady7390
@tombrady7390 2 года назад
leetcode 1722 is a cool problem it will nice if you make a video on it.
@tkishore1260
@tkishore1260 2 года назад
Nicely explained
@srijanshovit844
@srijanshovit844 2 года назад
ek no. 👌
@ayushdas17
@ayushdas17 2 года назад
It has Same approach of Book Allocation right
@foodcourt6810
@foodcourt6810 2 года назад
understood!
@dhruvkaran9724
@dhruvkaran9724 2 года назад
perfect
@SirAkPandey
@SirAkPandey 2 года назад
👌🙏🙏
@ashishdhal4614
@ashishdhal4614 Год назад
Book allocation problem
@PIYUSH-lz1zq
@PIYUSH-lz1zq 2 года назад
Its showing tle in leetcode
@singhji4149
@singhji4149 2 года назад
Best explanation
Далее
Capacity to Ship Packages - Leetcode 1011 - Python
12:25
Бокс - Финты Дмитрия Бивола
00:31
Leetcode 894. All Possible Full Binary Trees
29:08
Просмотров 4,2 тыс.
BS-15. Capacity to Ship Packages within D Days
20:36
Просмотров 103 тыс.
BS-13. Minimum days to make M bouquets | Binary Search
26:01
Where Does Bad Code Come From?
42:21
Просмотров 197 тыс.
Бокс - Финты Дмитрия Бивола
00:31