Hey everyone, quick channel update: this channel recently hit 1K subscribers! Thank you all for your support and kind comments on all my videos. I got a lot of ideas for interesting content in future videos so stay tuned (hit that subscribe button)! As always, thanks for watching!
@blatanthamma66243 жыл бұрын
really good content, would you consider making a video about A* algorithm and topological sort, also maybe some data structure like red/black tree, segment tree, I'd be watching them!
@kasyapdharanikota85703 жыл бұрын
Please make more videos ,really great channel and content
@wokguysrandomstuff55353 жыл бұрын
What? 6 month ago you had only 1k subs? Unbelievable
@ultramasculine3 жыл бұрын
please, do more videos. it's much more interestring than reading books
@susantabasak13273 жыл бұрын
We certainly need more videos from you on the topic (GRAPH)
@masonbiddle67504 жыл бұрын
Love the 3blue1brown vibes. This is the best way to learn for me and you do a great job explaining everything.
@andrewprahst25293 жыл бұрын
Nice profile picture. I do wonder what the software is though
@Mayank-mf7xr2 жыл бұрын
He is the 3b1b of Computer Science.
@saivol6462 Жыл бұрын
heyyy a 3blue1brown fan.. hard to come by
@ParthPaTeL-wm3kt11 ай бұрын
@@andrewprahst2529 The animation is made through python manim library created by 3b1b
@jackiezibub515014 күн бұрын
@@andrewprahst2529 if its what 3blue1brown uses its called manim
@udaraabeyrathne71672 жыл бұрын
I must say, this is one of the most effectively explained videos for DS & Alogs. Even though video is around 10.40 minutes, it's well ordered, planed and well explained to the point. Recommend this channel to anybody, who is looking for a quick but more elaborated explanations on Data Structures and Algorithms.
@maxwellhunt37324 жыл бұрын
This is amazing content! I'm a high school student who loves computer science, and this is just amazing. I know a lot of effort must have gone into these videos (what with having to learn manim and everything), I hope you continue into the future
@Reducible4 жыл бұрын
Thanks for the awesome comment! And yeah, these videos do take a lot of time and effort, but it's a lot of fun for me so I plan on continuing for the foreseeable future!
@AkshatSinghania2 жыл бұрын
Same , do you do competitive programming too?
@maxwellhunt37322 жыл бұрын
@@AkshatSinghania yep!
@jarmanbrar41144 жыл бұрын
Another highly polished video. You deserve so much more subscribers (sickening to see only 1k subscribers for such high quaility content). You are 3Blue1Brown of computer science for me and hopefully you get millions of subscribers like him.
@xaceffulgent Жыл бұрын
I finally understand BFS!! THANK YOU SO MUCH. That ball and string intuition piece made my mouth drop. And I finally truly understand a flooding algorithm - how why and when to use it. THANK YOU!!
@srujanjoshi37803 жыл бұрын
The ball and string analogy alone was enough to get me to like the video :D
@yixe22534 жыл бұрын
this is amazing, thank you for making them. These videos are timeless, people will be coming back to them in 2 years
@Reducible4 жыл бұрын
Glad you enjoyed it -- thanks for the awesome comment.
@filipm133 Жыл бұрын
@@Reducible he was right, great content
@wlockuz44672 жыл бұрын
Your graph theory series is amazing, I wish there was more to this series with more advanced topics! only thing I would like to point out is that you can mark vertexes as visited right after pushing them to stack/queue, Because you can be certain that if a vertex is in the stack/queue it is waiting to be visited , this avoids unnecessary insert/remove operations on stack/queue.
@MattCM899 ай бұрын
Hands down best vidoe on youtube for learning this!
@hamzakhalid43114 жыл бұрын
I wish if you were my DSA lecturer, just came across you channel I wish if i knew your channel a year ago. Keep making these high standard videos. Would love to see a whole series about Data Structures and Algorithms.
@hasnat_malik4 жыл бұрын
your way of teaching is absolutely amazing
@Reducible4 жыл бұрын
Glad you enjoyed it!
@shanehowe27512 жыл бұрын
Just want to say this is a fantastic explanation!! I am taking cs50ai and the first problem is the use BFS to find the shortest path between two actors and I just solved it thanks to this video
@aaroncroft75142 жыл бұрын
BEST CODING VIDEO I HAVE EVER WATCHED! So elegantly explained, thanks so much!!! 🙏🏻
@YuuhanngChau2 жыл бұрын
I love the music, so relieving, make me concentrate on what you are talking about.
@manupratap64064 жыл бұрын
I am addicted to such content. Plz if someone else also creates such content pl tell. Ur videos make maths so beautiful. Hats off👏👏
@rtcwtwister4 жыл бұрын
The flood fill problem is a great example for the use of graph traversal algorithms! Definitly going to show it to my students.
@kyoungjunhan10982 жыл бұрын
@2:39 So so so so so so so helpful to actually have a visualized explanation of the implementation of the codes!! Thank you so much!! You are absolutely brilliant :)
@mandelbrot31624 жыл бұрын
Thankyou so much for this video!! This is awesome. Today my DS teacher gave me the same problem and voila! I got you.Thanks✌🏼, You cleared my confusion!
@sivsivsree4 жыл бұрын
This channel is a gold mine!
@fredericoamigoАй бұрын
I’m such a fan of your work! I’d give this a million likes if I could. You are definitely making the world a better place! Keep up the great work! I truly appreciate it!
@thequantartist3 жыл бұрын
The quality of this channel is incredible. 3blue1brown level.
@okta25Ай бұрын
"Imagine you are pulling the ball up until all the strings tightened" simply Genius !
@rubamushtaq16573 жыл бұрын
This problem seems like a building block to solve graph problems. Thank you for sharing this.
@thenriquevicentini4 жыл бұрын
The work you are doing here is fantastic, hope all the best for you man, thanks a lot
@Jbdoster Жыл бұрын
Oh yeah This is definitely the one It’s been years since my undergrad and this helped me review thank you so much
@arekysa3 жыл бұрын
This channel is so much underrated
@matiaslast21004 жыл бұрын
this is awesome man! it has a clear explanation with pseudocode easy enough to understand and make an implementation thanks!!
@lefuturiste273 жыл бұрын
lol that was python, great to do pseudocode I guess
@ahmedouerfelli47094 жыл бұрын
You deserve much more subscribers.
@AshishKumar-xx3dx3 жыл бұрын
Again an awesome explanation by Reducible
@kobic83 жыл бұрын
amazing!!! helped me a lot, as a junior that is just introduced to this topic
@alex19991014 Жыл бұрын
Excellent explanation and example. Love it when you mention the real life example of the “Fill” button in Paint🎨 app, it gave me a instant picture of BFS.
@emre57403 жыл бұрын
That's a great efford! I wish I discovered this channel earlier. Thanks
@VladyYakovenko2 жыл бұрын
I really do appreciate your graph theory videos they are really clear and I love the way you are making me think about the problems and solutions. Please make more videos about graph theory and maybe showing some examples of problems solved with graph theory
@navneet50843 жыл бұрын
I might have been traversing the internet the DFS way, that's why I found your channel so late!
@orion28433 жыл бұрын
Amazing Content Sir,like no one else in Computer Science Domain. Really Appreciate you animation,background music and hardwork you put in every video❤️😁❤️
@liuculiu83663 жыл бұрын
Such well organized content and finely polished presentation. Instantly subscribed. Appreciate the effort!
@mayankmudgal17282 жыл бұрын
Absolutely stunning! Love the animations and the intuitive vibe just like 3b1b;
@monickverma29443 жыл бұрын
this is the best. i beg u not to stop
@jamesmcgreivy28824 жыл бұрын
Love these videos! Really interesting topics and they’re super easy to follow
@ParthVerma-kc1wr Жыл бұрын
This was so insanely good! Although I watched the video a few times. I could understand everything!!
@henrroo2 жыл бұрын
Your explanation was so good, thank you very much, keep doing these kind of videos bro!
@vikasviki74904 жыл бұрын
Awesome Content, Please add more such videos, Graph and DP would be Awesome.
@dnm9931 Жыл бұрын
Beautiful and clear explanation! Thank you so much!
@sufalt12321 күн бұрын
flood fill problem reminded me about strongly connected components on graphs
@yatharthmishra012 жыл бұрын
Beautifully explained ! Keep up the good work.
@alexbrodbelt2973 жыл бұрын
This is incredible, I cannot thank you enough!
@dipankarkumarsingh3 жыл бұрын
Please please please keep uploading videos ... they are soooooooo good .....
@daemitrious8 күн бұрын
For those not very adept with Python, it may be difficult to understand your 'neighbors' implementation at 9:40. I know you probably wanted to keep everything in one slide, but it may have been better to expand the list comprehension in 'neighbors' so that it's more verbose and easier to read. Other than that, this video was fantastic and the color scheme you used was awesome thank you for the hard work.
@user-wc1sm8cj8s3 жыл бұрын
really great contents, I really understand a lot from your videos! *Keep it up*
@robtito20093 жыл бұрын
You guys deserve so much more subscribers
@marioprado8789 Жыл бұрын
That level explanation. Awesome!
@AdityaMoza Жыл бұрын
Absolutely amazing. Please make as many videos as you possibly can on graph theory. I'd buy a complete DSA course from you if you choose to make one.
@erv9933 жыл бұрын
Wow, that's a very cool explanation! I think I understand it much better now, thx!
@SomebodyYouUsedToSee3 жыл бұрын
Bro , You are just tooooooooooooo good , please make more algorithm videos
@lastshots3003 жыл бұрын
absolutely loving your content - great stuff
@mohdrasid67373 жыл бұрын
such a clear and detailed explanation 👏. Thank you 😇
@essamgouda16092 жыл бұрын
KZbin is indeed full of gems.
@1mr126 ай бұрын
that was eazy, simple, adorable !
@SamTablet-z9t5 ай бұрын
thanks for clear explaining
@Lolwutdesu9000Ай бұрын
This is an awesome video, but your neighbours function is flawed. You don't need to verify whether it connects to start. Think about it ;)
@yeah50372 жыл бұрын
Very nice video, thank you!
@hasnat_malik4 жыл бұрын
man i'm new to the channel and am lovin it
@Speykious3 жыл бұрын
I just watched this video after I intuitively found by myself an algorithm to capture a group of stones in a GO game setup
@petesantago59772 жыл бұрын
Excellent content - thank you.
@zhougood89984 жыл бұрын
it helps me a lot!!!
@saymatasnim59124 ай бұрын
Really can't thank you enough!
@rodrigomarchi97552 ай бұрын
Great video!
@huseinjavidmehr12282 жыл бұрын
was fluent explanation thank you
@carljustinemosquida47272 жыл бұрын
hope more graphs algos in the future
@BerArchegas3 жыл бұрын
Amazing vid, amazing channel
@KumarDinesh-zw2vq6 ай бұрын
Wow man. Love you
@Saleh-le2zf3 жыл бұрын
I still love you man!
@brendawilliams80624 жыл бұрын
Thankyou.
@kautilyap98564 жыл бұрын
Can you please develop a course comprising on data structures, algorithms and problem solving paradigms??
@Reducible4 жыл бұрын
Or ... I could just make a course equivalent series of videos on KZbin for free :P
@kautilyap98564 жыл бұрын
@@Reducible Yeah you can! That would be the best thing! But like can you do them simultaneously and in one video
@mohamedmoumni89162 жыл бұрын
great Job , Thanks A lot.
@tedarcher91203 жыл бұрын
If you code in Python, never initialise a list as [something]*N, because it will create a list with N the same objects, which will break your program. Instead, use [False for _ in range(N)]
@brendawilliams80622 жыл бұрын
When you have shoe laces and need to tie them
@marco_gallone3 жыл бұрын
I recognize that the only difference in the two algorithms (BFS vs DFS) is that BFS uses a queue vs DFS uses a stack. But you presented a really clean algorithm using recursion in DFS. Can BFS be reduced down to a recursive form too?
@Reducible3 жыл бұрын
Well, it's always possible, but it really doesn't make sense to use recursion since DFS recursion is just using the call stack. Recursion implicitly uses a stack. BFS uses a queue which is basically the opposite of the stack so it really doesn't fit the recursive framework. See this for a more thorough discussion and some of the possible ways: stackoverflow.com/questions/2549541/performing-breadth-first-search-recursively
@godwinwabz53792 жыл бұрын
Hello.... Thanks for creating your content.. however, I realized that in your animation, while visiting vertex 3, you added 2 to the queue. However, 2 is adjacent to vertex 0, therefore, it would be visited at the same level with vertices 1, and 3. Therefore, adding it into the queue would result into revisiting of the vertex, which isn't efficient
@nihao8527 ай бұрын
legend
@nontth53553 жыл бұрын
i wish i watch this video before I build my minesweeper game if so I wouldn’t have a hard time figuring out flood fill on my own btw I think the isValid function can be write like this def isValid(img, row, col): return row in range(len(img)) and col in range(len(img[0])
@ullaskunder3 жыл бұрын
Perfect
@andrewprahst25293 жыл бұрын
I'm just here because I really like lines and stuff
@joinrevolution28 күн бұрын
OMG how did I find myself here? I was looking for funny dog videos
@TheStylestatement2 жыл бұрын
Best one
@riyadh5449 Жыл бұрын
Wow, how lovely you accent is😇.. damn to Hindi accent!
@michaelheuss65023 жыл бұрын
It's been a long time since I took algorithms, but I think we skipped BFS in general and went straight to Dijkstra's algorithm.
@rhaq4262 жыл бұрын
cool intro
@ananyapamde45144 жыл бұрын
Gold
@stevenperez52602 жыл бұрын
I was wondering to know what software did you use for the graph animations?
@Battler-tbb7 ай бұрын
B - Boss F - Fighting S - Stages
@handlebred Жыл бұрын
very good vide;)
@justinrush66203 жыл бұрын
Curious why you didn't just use a min/max function with neighbors to avoid boundary issues? Wouldn't that be a simpler implementation?
@Memes_I_Stole_For_A_Living2 ай бұрын
Is it possible to change queue = [(row, col] to queue = start?
@jackabrams58593 жыл бұрын
thumbnail looks like the reverse transmutation circle from FMAB
@patriot925th7 ай бұрын
around 6:30, you said (row, col): (2,2). but it seems like (3,3). what am I missing here?
@davidequattrocchi50833 жыл бұрын
I've been using variants of this algorithm for years. I never thought I had invented it first... but knowing it for sure is still somewhat disappointing.
@nurhusni4 жыл бұрын
Is this channel related to 3blue1brown?
@Reducible4 жыл бұрын
Directly, no. I love his work and I think his channel is one of the best educational channels out there. I use the same animation library he uses so I guess the content will have a similar style in that sense.
@asutoshghanto34193 жыл бұрын
@@Reducible please can you make a documentation of manim? it is very difficult to work with it . Can you tell how do I label points marked on a 2d graph.