Gas Station | Live Coding with Explanation | Leetcode - 134
Вставка
- Опубліковано 19 вер 2024
- Detailed Explanation 134 Gas Station Leetcode problem.
Join this channel to get access to perks:
/ @algorithmsmadeeasy
Get Discount on GeeksforGeeks courses (practice.geeks...) by using coupon code: ALGOMADEASY
To support us you can donate
UPI: algorithmsmadeeasy@icici
Check out our other popular playlists:
Questions you might like:
✅✅✅[ Tree Data Structure] : • Tree Data Structure
✅✅✅[ Graphs Data Structure] : • Graph Data Structure
✅✅✅[ February Leetcoding Challenge] : • February Leetcoding Ch...
✅✅✅[ January Leetcoding Challenge] : • January Leetcoding Cha...
✅✅✅[ February Leetcoding Challenge] : • February Leetcoding Ch...
✅✅✅[ March Leetcoding Challenge] : • March Leetcoding Chall...
✅✅✅[ December Leetcoding Challenge] : • December Leetcoding Ch...
✅✅✅[ November Leetcoding Challenge] : • November Leetcoding Ch...
✅✅✅[ August Leetcoding Challenge] : • August LeetCoding Chal...
✅✅✅[ July Leetcoding challenges] : • July LeetCoding Challe...
✅✅✅[ June Leetcoding challenges] : www.youtube.co...
✅✅✅[ May Leetcoding challenges] : • May LeetCoding Challen...
✅✅✅ Cracking the Coding Interview - Unique String: • Cracking the Coding In...
Problem Link: leetcode.com/p...
Code: github.com/Alg...
If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful.
#coding #leetcode #programminglife #programmingisfun #programmer #tech #software #codinglife #leetcode
This problem is so hard that I had to pass 23 gases while trying to solve this.
Because of this, forget about the problem but I was feeling that my body had became a gas station.
Leetcode please block such hard questions and save air pollution. Thank you!
🤣🤣🤣🤣
Rajma chawal khaya ya Chola Bhatura?
@@lokeshkaduskar4652 mooli ke parathe with chhole and dahi. Din bhar Diwali jaise phataake phoot rahe the bhaiyya.
Kaduskar bhaava.. mi tar mhanto ki roj vada paav khaava. Health department ne vada pav he roj cha jevan mhanun declare karun taakava
what a great explanation of this problem. loved it
Thank you!! 🥳🥳
Please subscribe to the channel!! and share with your friends!! 🙏✅
Thanks a lot for the beautiful presentation.
Most welcome!! 👍
Great explaination , keep uploading such good explainations
Thanks 👍
Welcome!!
Do share and subscribe!! 🙏🙏✅
great explanation 🤩
Thanks 👍
Isn’t last column you added (1-8) = -7?
yes
great explanation
Glad you liked it !!
Best explanation
Today's Daily Challenge 🤗 Thank You
You're welcome 😊
Do share it with you friends and don't forget to subscribe :)
wonderful
what if the diff was [-3,-3,-3,3,2]. the algorithm would return the index of 3 even though the circular root is not possible.
you need to ensure that the total fuel_amount >= total cost. If you don't verify that then you may get some misleading results
Nice explaination, just watched a 50 min video explaining this question 😅
I hope this saved your time!! 😋🎯
10:38 ...for I 1-8 =-7 not 7 ... & hence not possible to circuit