LeetCode 815. Bus Routes Detailed Explanation + Coding (Python)

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

Algorithms Simplified

Algorithms Simplified

Күн бұрын

Пікірлер: 17
@algorithmssimplified1563
@algorithmssimplified1563 2 жыл бұрын
Thanks for watching the video! Any feedback and suggestions would be greatly appreciated :)
@UIEngineering101
@UIEngineering101 11 ай бұрын
This is the BEST walkthrough of this problem anywhere on the entire internet
@shivanshshekhar
@shivanshshekhar 3 ай бұрын
Hey, you are really good at this. Please make more videos on other problems, you are amazing at explaining. I was struggling with this problem but your explanation was clear and the visuals really helped! Thank you.
@EaswaranParamasivam
@EaswaranParamasivam 10 ай бұрын
Great explanation!!
@vetiarvind
@vetiarvind 20 күн бұрын
Subbing you. I watched 5 videos and had no clue and i watched your intro and immediately got it.
@devinpadron5
@devinpadron5 Жыл бұрын
Thank you for the solid explanation and visuals.
@lifeincentralvalley9430
@lifeincentralvalley9430 2 жыл бұрын
wow, it really appreciate your tutorial, this video helped me solve bus route, your video is so clear, organized and easy to understand, great resource!
@soumyajitchatterjee5822
@soumyajitchatterjee5822 5 ай бұрын
Great Soluton!!!
@sagarpotnis1215
@sagarpotnis1215 2 жыл бұрын
this solution is on par with neetcodes solution!! awesome ! please keep posting more thanks!!!
@sagarpotnis1215
@sagarpotnis1215 Жыл бұрын
@@michael_rayz on par = as good as
@opwr
@opwr 2 жыл бұрын
Well explained! Thank you for making this 😁
@paveluvarov5941
@paveluvarov5941 2 жыл бұрын
Thank you very much! Great explanation! I hope more videos are to come.
@EndOspLuk
@EndOspLuk 2 жыл бұрын
Thank you for taking the time to explain this, I would like to offer some feedback as a way to repay you! You can actually simplify these for loops you're writing by doing something like ``` if currStop in visited_stops: continue # go to the next iteration # else cur stops is not visited here then do the logic in the if statement ``` Same thing for the final for-if-for-if combo, that way you can improve the code layout a little bit. Also you could use `defaultdict` from collections to do something like. ``` stopToRoutes = defaultdict(lambda: set()) for route in range(len(routes)): for stop in routes[route]: stopToRoutes[stop].add(route) ```
@ritwik121
@ritwik121 2 жыл бұрын
great lecture...
@abdulazizfahim2140
@abdulazizfahim2140 2 жыл бұрын
Best explanation
@aowowow-no1xe
@aowowow-no1xe 8 ай бұрын
Hey what software do you use to draw these?
@cbverma2k
@cbverma2k 2 жыл бұрын
100 likes
Leetcode 975. Odd Even Jump Detailed Explanation + Coding (Python)
1:02:25
Algorithms Simplified
Рет қаралды 4,9 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
UBER'S #1 INTERVIEW QUESTION | BUS ROUTES | PYTHON BFS SOLUTION
18:03
5 Simple Steps for Solving Dynamic Programming Problems
21:27
Reducible
Рет қаралды 1,1 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
815. Bus Routes | Tricky BFS
19:27
Aryan Mittal
Рет қаралды 4,6 М.
How To Think Like A Programmer
1:00:07
Coding Tech
Рет қаралды 2,1 МЛН
Two Sum - Leetcode 1 - HashMap - Python
8:26
NeetCode
Рет қаралды 1,5 МЛН
NVIDIA CEO Jensen Huang's Vision for Your Future
1:03:03
Cleo Abram
Рет қаралды 145 М.
LeetCode 815. Bus Routes
21:00
Happy Coding
Рет қаралды 9 М.
Dota2 Senate - Leetcode 649 - Python
14:48
NeetCodeIO
Рет қаралды 25 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН