Тёмный

Patching Array | Leetcode 330 | Leetcode Hard | Live coding session 🔥🔥🔥 

Coding Decoded
Подписаться 22 тыс.
Просмотров 8 тыс.
50% 1

Here is the solution to "Patching Array" leetcode question. Hope you have a great time going through it.
Solution: leetcode.com/problems/patchin...
1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 7:30 Solution approach
4) 18:00 Coding
Solutions github.com/Sunchit/Coding-Dec...
For discussion/feedback
Feel free to join discord / discord
Complete August playlist : • Leetcode August 2021 C...
Complete July playlist : • Leetcode July 2021 Cha...
Complete June playlist : • Leetcode June 2021 Cha...
Complete May playlist : • Leetcode May 2021 Chal...
Complete April playlist : • Leetcode April 2021 Ch...
Complete March playlist : • Playlist
Complete Feb playlist : • Leetcode February 2021...
Complete Jan playlist : • Leetcode January 2021 ...
Complete December Playlist: • Leetcode December 2020...
PS : Please increase the speed to 1.25X

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

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@harshitjain6915
@harshitjain6915 2 года назад
When you explain a Hard problem it seems easy to me Hats off to your wonderful explaination
@harryscorner7135
@harryscorner7135 2 года назад
True
@user-cl8xk6im7x
@user-cl8xk6im7x Месяц назад
Really bro , make sure to watch till the end
@rajsahu4644
@rajsahu4644 10 месяцев назад
After going through all YT videos on this question and still struggling, found yours and it all makes sense now!
@-harshayadav
@-harshayadav 2 года назад
You are a genius !! turned the hard problem into easy.
@viplavanand5228
@viplavanand5228 2 года назад
I was writing above 100 line of code , this exaplanation help me to write this code in 10 lines, thanks sir ji
@VishalYadav-gk1kg
@VishalYadav-gk1kg 9 дней назад
Very nice explanation sir, Thank you!
@somnathroy102
@somnathroy102 Месяц назад
Thank you for dumbing it down to this lucid explanation.
@theghostwhowalk
@theghostwhowalk 2 года назад
Amazing explanation. First question itself was tough to understand, then video made it lucid to understand what's required. Then the explanation on solution was spot on. Thanks!
@santoshvarma996
@santoshvarma996 2 года назад
I am not able to access the git hub code, is it only me or others are also facing the same problem?
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 года назад
Missed pushing the PR on github 😒
@Prashantkumar-pn6qq
@Prashantkumar-pn6qq Год назад
why is the condition if(nums[i]
@kevinwang3981
@kevinwang3981 2 года назад
Hats off to your wonderful explaination, sir!
@shrimpo6416
@shrimpo6416 Год назад
You make the HARD question EASY!!! I cannot thank you enough!!!
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja Год назад
Happy to help!
@harryscorner7135
@harryscorner7135 2 года назад
Wonderful explanation bruh. Amazing yaar.
@user-dr7go3pi6t
@user-dr7go3pi6t 8 месяцев назад
i found this video link in leet code discussuion
@pavniujla654
@pavniujla654 2 года назад
a bit lengthy but worth watching, Thanks :)
@LegitGamer2345
@LegitGamer2345 2 года назад
Awesome explanation
@devraj-2310
@devraj-2310 Год назад
Explaination 👌🤘
@KingLamHui
@KingLamHui 2 года назад
Thanks a lot, yours is the only comprehensible video explanation I found online
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 года назад
Glad it helped!
@jaskiratsinghosahan4638
@jaskiratsinghosahan4638 2 года назад
Great explanation 👍
@Mayanksingh-qp6dy
@Mayanksingh-qp6dy 2 года назад
Awesome explanation..
@hardikpant4159
@hardikpant4159 Месяц назад
Nice way of explanation
@aryansinha557
@aryansinha557 11 месяцев назад
Thank you very much bhaiya ❤❤
@anilchaudhry804
@anilchaudhry804 2 года назад
Lovely
@shubhammittal4389
@shubhammittal4389 Месяц назад
awesome explanation!!
@rachitkatariya
@rachitkatariya Месяц назад
thanks for the easiest explanation.❤
@praveenj3112
@praveenj3112 2 года назад
Thank you so much !
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 года назад
You're welcome!
@abhishekjoshi7081
@abhishekjoshi7081 2 года назад
It was a good explanation , you earned yourself a new subscriber.
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 года назад
Thanks @Abhishek glad to hear that
@sreejith5966
@sreejith5966 2 года назад
In the code first if is redundant right ? after exhausting all nums element else will have the same same code
@sreejith5966
@sreejith5966 2 года назад
Here is my JS version var minPatches = function(nums, n) { let patches = 0; let reach = 0; let i =0; while(reach
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 года назад
@@sreejith5966 Yes I am a JS fan, find it simple and elegant. You are correct it is not needed but i explicitly explained it so that you guys understand that use case.
@sreejith5966
@sreejith5966 2 года назад
@@CodeWithSunchitDudeja Nice I do mostly use js Only issue with it is their is no ready made template ds for some of the complex data structures liked priority queues etc Also Javascript help getting an offer from a startup recently
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 года назад
@@sreejith5966 Great news congratulations. Keep shinning.
@brokencoder5397
@brokencoder5397 8 месяцев назад
i think we can skip the first if condition because anyhow it will be handled in the last else part
@priyankanarekar7983
@priyankanarekar7983 Год назад
really helpful😊
@Anonymous____________A721
@Anonymous____________A721 7 месяцев назад
😭😭😭😭tqqqqq sir
Далее
ВОТ ЧТО МЫ КУПИЛИ НА ALIEXPRESS
09:35
How I would learn Leetcode if I could start over
18:03
Просмотров 382 тыс.
Leetcode - Patching Array (Python)
6:21
Просмотров 4,8 тыс.
8 patterns to solve 80% Leetcode problems
7:30
Просмотров 276 тыс.
10 Math Concepts for Programmers
9:32
Просмотров 1,8 млн
My 2 Year Journey of Learning C, in 9 minutes
8:42
Просмотров 578 тыс.