Gas Station | Leet code 134 | Theory explained + Python code

preview_player
Показать описание
This video is a solution to Leet code 134, Gas Station. I explain the question and the best way to solve it and then solve it using Python.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

More leetcode questions solved:

Timestamps:
0:00 Question Explained
2:50 Solution Explained
10:34 Python Code

Gear used:
Рекомендации по теме
Комментарии
Автор

I really want your channel to grow. There are a lot of other YouTubers there who explain leetcode problems, but your explanation is most concise and easy to understand. Every minute of your video is "to the point" and worth watching. Others take either too much time to explain or are not very clear. Your approach is the best and the timestamps are helpful. Your voice modulation is also good :P. I wonder why you get so less number of views.. I hope your channel grows faster than this.

Anand-wiyb
Автор

Very Good Explanation. Try to include some more examples and convey the intuition of how you have reached to the optimal solution it's better if you could explain the brute force and built up an answer upon that !!

princeakhil
Автор

Great explanation ! Thank you for posting it.

ri_rs
Автор

I was solving this problem for 40 mins but I could not think of this solution... Is there any way that I can come up with a good solution for other problems?

samhyeongan
join shbcf.ru