Thanks for watching the video! Any feedback and suggestions would be greatly appreciated :)
@UIEngineering10111 ай бұрын
This is the BEST walkthrough of this problem anywhere on the entire internet
@shivanshshekhar3 ай бұрын
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.
@EaswaranParamasivam10 ай бұрын
Great explanation!!
@vetiarvind20 күн бұрын
Subbing you. I watched 5 videos and had no clue and i watched your intro and immediately got it.
@devinpadron5 Жыл бұрын
Thank you for the solid explanation and visuals.
@lifeincentralvalley94302 жыл бұрын
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!
@soumyajitchatterjee58225 ай бұрын
Great Soluton!!!
@sagarpotnis12152 жыл бұрын
this solution is on par with neetcodes solution!! awesome ! please keep posting more thanks!!!
@sagarpotnis1215 Жыл бұрын
@@michael_rayz on par = as good as
@opwr2 жыл бұрын
Well explained! Thank you for making this 😁
@paveluvarov59412 жыл бұрын
Thank you very much! Great explanation! I hope more videos are to come.
@EndOspLuk2 жыл бұрын
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) ```