Circular tour of petrol pumps| Tricky problem Love Babbar DSA sheet

  Рет қаралды 3,754

Aditya Rajiv

Aditya Rajiv

Күн бұрын

Пікірлер: 33
@anubhavbhutani8512
@anubhavbhutani8512 Жыл бұрын
Very well explained!! Hats off!
@shaanroyal337
@shaanroyal337 Жыл бұрын
Well explained 😄
@gaurimandot5788
@gaurimandot5788 4 ай бұрын
Great explanation !!
@abhishekjaiswal6492
@abhishekjaiswal6492 3 жыл бұрын
Great explanation
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Glad it helped you 😀. Please share the channel with all your friends and subscribe 😀🙏.
@justanaverageguy4739
@justanaverageguy4739 3 жыл бұрын
Dont't stop bro
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Yes😀👍. Share the channel with all your friends and subscribe 😀🙏.
@dipayanchakraborty2417
@dipayanchakraborty2417 2 жыл бұрын
brilliant video
@vaibhavgupta973
@vaibhavgupta973 3 жыл бұрын
MAZA AAGYA SOLUTION DEKH KR !!
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Glad that it helped you😀. Please share the channel with all your friends and subscribe 😀🙏.
@aritralahiri8321
@aritralahiri8321 3 жыл бұрын
Very good explanation !
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Glad it helped you😀. Please share the channel with all your friends and subscribe 😀🙏
@harshitsharma1880
@harshitsharma1880 3 жыл бұрын
nice explaination brother...keep it up
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Very happy you liked it!. Please share the channel with your friends and subscribe.
@samareshms4591
@samareshms4591 3 жыл бұрын
It is under stacks and queue section in love babbar sheet because it can be solved using circular queue This problem is similar to kadane's algorithm Very nicely explained thank you so much
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
I'm glad it helped you 😀👍. Please share the channel with all your friends and subscribe 😀🙏.
@kartikchechani2299
@kartikchechani2299 3 жыл бұрын
very well explained brother
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Ik happy you like it😀. Please share the channel with all your friends and subscribe 😀🙏.
@abhinavshukla6418
@abhinavshukla6418 3 жыл бұрын
this was an interseting problem purely aptitude type question
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Yes😀👍
@sachinsharma905
@sachinsharma905 3 жыл бұрын
You explained very beautifully. Thanks for the video. You earned a subscriber.🙏🙏🙏
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Glad it helped you brother😀👍. Please share the channel with all your friends and subscribe 😀🙏.
@cavi8779
@cavi8779 3 жыл бұрын
Thanks for the Explanation bro..it helped me alot...best of luck for ur upcoming vdos .. HAPPPY CODING😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Very happy it helped you😀. Please share the channel with all your friends and subscribe 😀🙏.
@manupathria1073
@manupathria1073 3 жыл бұрын
Keep going bro
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Yes😀. Please share the channel with all your friends and subscribe 😀🙏.
@sandipmandal6722
@sandipmandal6722 3 жыл бұрын
i think hear the idea of circular queue is been used that's it is kept in the list
@aman1396
@aman1396 3 жыл бұрын
great explaination ,an idea always try to keep videos short like this only
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
Glad it helped 😀👍. Please share the channel with all your friends and subscribe 🙏😀.
@arunsp767
@arunsp767 3 жыл бұрын
I went thru about 10 videos that had like 59k views n all trying to understand this solution. Nobody ever explained why they skipped the previous pumps between starting and 'failed' petrol pumps. Also how you don't have to worry about traversed pumps just by maintaining a fuelShortage variable. This video has barely 600 views and You explained both points so well. Keep it up brother. All the very best.
@adityarajiv6346
@adityarajiv6346 3 жыл бұрын
I'm very happy to know that my work is having an impact😀. Yes I shall keep going!. Please share the channel with all your friends and subscribe 😀🙏. All the best👍.
@anishsuman1371
@anishsuman1371 3 жыл бұрын
Every greedy looks Tricky 😭😭
@aman1396
@aman1396 3 жыл бұрын
v
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Gas Station or Circular Tour problem
21:38
Code with Alisha
Рет қаралды 14 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 285 М.
LeetCode Weekly contest 291 | Total Appeal of A String (Hard)
15:15
How to Remember Everything You Read
26:12
Justin Sung
Рет қаралды 3,8 МЛН
Gas Station - Greedy - Leetcode 134 - Python
15:47
NeetCode
Рет қаралды 154 М.
DeepSeek on Apple Silicon in depth | 4 MacBooks Tested
26:27
Alex Ziskind
Рет қаралды 3,7 М.
DP 20. Minimum Coins | DP on Subsequences | Infinite Supplies Pattern
34:15
Circular tour | Problem of the Day- 16/06/21 | Sankalp
23:34
GeeksforGeeks Practice
Рет қаралды 841
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН