Yes. A series, then put them in a playlist. CS 101. You'll get tons of students into it. I can already forsee teachers using Fireship videos as introductions for every (available) algorithm.
More algorithms please, I was just looking this up yesterday and found this video explains it more clearly than others because you clearly explain WHY we would use this rather than just parroting how to do it out of textbook.
If you're a CS student/beginner learning data structures & algos for the first time, I cannot recommend "A common-sense guide to data structures & algorithms" enough. It's a textbook that is focused on explaining the base concepts in plain English to a beginner. It goes in-depth without overwhelming you. Provides exercises, examples, & diagrams. Book saved my life freshman year of CS.
This was so awesome, as a self-taught developer I never got to learn most theoretical things like this, and it definitely has an effect on my problem solving
The code shown actually have a bug. When it was written back in the day it was not a problem. Now of your search array has billion elements the sum of integers may overflow and become negative. The new proper way to avoid going out of bounds of the integer to calculate mid point is int mid = low + ((high - low) / 2); This was a bug in Java for 9 years
No only that, this kind of iteration is really limited in JS (in fairnes JS is not a declarative lenguaje and has the while loop for this kind of problems), you going to get a "Maximum call stack size exceeded error" before getting this bug.
Algorithm holds a massive part in today's technical world. Apart from dev tools like react, redux, and all including devops, algorithm is something we all get to ask even in interview. I appreciate the work you have done yet and doing continuously to get us know what that technology actually means and when should we have it in use. Other data structures and algorithms are welcome from my side. We all need it.
Definitely keep making these. I'm a full-stack developer, but missed out on a lot of the 'low-level' knowledge like algorithm design and Big O notation. This video was incredible!
What took my intro to data structures/algorithms professor weeks to each you succinctly explained it in less than 3 minutes. I appreciate your work a lot!
Please do more Algorithms! I'm practicing Leetcode so this video is incredibly helpful in explanation. Time Complexities are a harder concept for me so this helped explain that a little more.
hey this was really informative and interesting to watch all while being entertaining because of how good your animations are. please keep doing more of these 👍
This is a good video. But I see one flaw in it. You haven't explained the fact that binary searches work only in an environment where everything is sorted
I know this is a relatively old video, but I love these algorithm videos, please return with more of these in depth algorithm videos if you feel like it:)
Your method of teaching both in the "to the point" time constraint and the visuals have really helped me better understand what a lengthy memorization-centric course fails to do.
You explain that in 2 minutes better than any of my professors could in a half hour. I would really love to see how you present dynamic programming, maybe with a genetic sequence alignment example.
Hey I learned about these from computer science and didn’t understand a single thing but your 100 seconds made me understand everything, thanks I genuinely needed this 😁
love it! these are great for practicing for coding interviews - especially if you cover more complex topics that are hard to visualize (dynamic programming, fast/slow pointers, loops etc)
It would be great if you could cover the most common algorithm and data structures topics that are asked in interviews. Also, topics like solid principles, deadlocking, etc. Your videos make a great refresher for any concept without being boring. In any case, thank you for the great work!
I also would pay for a in-depth series that taught the most useful ones with steps for how to break problems down and learn how to identify which DS/algorithms would be best to apply to different categories/types of problems
Quite an interesting algorithm and certainly one important for all developers, regardless of language or field. The video explains it quite well. Keep up the good work Fireship!
Woah, that's pretty cool! I knew how to do it but by using a recursive function it was definitely a much different approach I hadn't seen before. Looked so much better than a binary search algorithm I had made earlier.. The explanation was so much simple and straight forward from the one in my textbook. This is absolutely amazing!
Man, this 100 seconds videos on algorithms are a pretty nice refresh. Would be good also for people who wants to learn this kind of things, but find themselves overwhelm with books definitions. Nice job as always !
Java static int linearSearchRange(int[] arr, int target, int start, int end){ if(arr.length == 0) { return -1; } for (int i = start; i < end; i++) { int element = arr[i]; if (element == target) { return element; } } return -1; }
Please cover sorting algorithms with visualisation, many people keep forgetting how merge sort l, quick sort, heap sort,... work. A good visualization with explanation like yours will be very effective in these topics.
Hey Jeff, Please cover all the topics from data structures and algorithm. Thanks
Yes plz!
Yesss! Like this comment, get to the top!
Yessssss fully agree
YES PLEASE :D
Yes
Do a series of these different Algorithms.. Helps immensely in quick revising them for tests..
Yes, please. I've been having a hard time implementing variations of DFS and BFS graph algos.
@@WTHBrou I keep failing hard at graphs interview, I second that
Yes, please.
MOAR ALGORITM PLS
Yes. A series, then put them in a playlist. CS 101. You'll get tons of students into it. I can already forsee teachers using Fireship videos as introductions for every (available) algorithm.
More algorithms please, I was just looking this up yesterday and found this video explains it more clearly than others because you clearly explain WHY we would use this rather than just parroting how to do it out of textbook.
If you're a CS student/beginner learning data structures & algos for the first time, I cannot recommend "A common-sense guide to data structures & algorithms" enough.
It's a textbook that is focused on explaining the base concepts in plain English to a beginner. It goes in-depth without overwhelming you. Provides exercises, examples, & diagrams.
Book saved my life freshman year of CS.
@@m1rac1e bro i am gonna be in freshmen year in August, can you please give me the link to download it.
I would like more algorithms because I like algorithms, but this is a hardly revolutionary video. Here's to generic praise 😂
@@shreehari2589 look up textbook piracy, can't link it because youtube filter blocks me.
gotta use ur brain.
@@shreehari2589 try z-lib
This is amazing.
I would call the series “demystifying Algorythms”, or “computer archeology”, or “understand the technical interview”
That's a great idea you got here ...
aaaand thats why no one asked you
A playlist of common interview questions would be a godsend
I finished my engineering course long back, but would pay you to watch data structures and algorithms explained in such a nice way!
bru
This was so awesome, as a self-taught developer I never got to learn most theoretical things like this, and it definitely has an effect on my problem solving
What a miracle. My computer science teacher taught us linear search today. And will teach binary search tomorrow. I got it easy 😊
Well, I knew binary search already. But this dictionary anology was just amazing.
i think cs50 does this
Holy moly! Ive never seen anyone explain it as simple as this. Please do more data structures and algorithms stuff. Thank you
Need many many more videos please ❣️
Sir taught in class many times but never able to explain like this. Thank you ❤️
Love to see more algorithms videos! 👏🏻
More algorithms in under 100 seconds like these, please! This was explained way more succinctly than a regular class would have done.
This is the first time that I truly understood the Binary Search algorithm and how to implement it using recursion in just 2 minutes.
Awesome!
The code shown actually have a bug. When it was written back in the day it was not a problem. Now of your search array has billion elements the sum of integers may overflow and become negative. The new proper way to avoid going out of bounds of the integer to calculate mid point is
int mid = low + ((high - low) / 2);
This was a bug in Java for 9 years
This is actually really important. I’ve gotten dinged for this.
To be fair, he did say the code was in JavaScript.
But this is still an important insight you’re giving
No only that, this kind of iteration is really limited in JS (in fairnes JS is not a declarative lenguaje and has the while loop for this kind of problems), you going to get a "Maximum call stack size exceeded error" before getting this bug.
@@jandresshade Why would you get a maximum call stack size exceeded error?
I don't get it. Can you explain?
I really love these videos. My favourite dev content on UA-cam. Perfect balance of knowledge, time, humour, and impact.
This made more sense to me than when I learned about it during a 2 hour lecture. Would love to see algorithms more
Yes, continue with more algorithms, this was so easy to understand, thanks!
We need more like these algorithms
Man, you've come at a perfect timing for this one! Would love to see more about algorithms.
Algorithm holds a massive part in today's technical world. Apart from dev tools like react, redux, and all including devops, algorithm is something we all get to ask even in interview.
I appreciate the work you have done yet and doing continuously to get us know what that technology actually means and when should we have it in use.
Other data structures and algorithms are welcome from my side. We all need it.
Definitely keep making these. I'm a full-stack developer, but missed out on a lot of the 'low-level' knowledge like algorithm design and Big O notation. This video was incredible!
This is pure gold, and yes, the crowd cries out desperately for more videos of algorithms and data structures. Keep it up man, thanks!
With Jeff's videos we can speedrun learning!
its amazing how most channels take almost10 minutes to explain these things and here it's done in 2 minutes.
I’d appreciate if you make a series about data structure and algorithms. Your explanation is really helpful!
Thanks:)
What took my intro to data structures/algorithms professor weeks to each you succinctly explained it in less than 3 minutes. I appreciate your work a lot!
next video: how to reverse a linked list.
Four years of CompSci Degree, three years in the industry and I just got a grippy example for a recursion. Thank you a lot, Jeff!
Please do more Algorithms! I'm practicing Leetcode so this video is incredibly helpful in explanation. Time Complexities are a harder concept for me so this helped explain that a little more.
Videos about popular and lesser known algorithms would be great content. Would watch them all!
Hey Jeff, great video! How about a new series where you show most known algorithms in 100 seconds? That would be great!
I already know this will be a great mini series!
hey this was really informative and interesting to watch all while being entertaining because of how good your animations are. please keep doing more of these 👍
Yes, Please to a complete series on all algorithms and data structures, it'll be really helpful.
I hadn’t been able to picture divider-and-conquer algorithms for weeks, until this video. Thank you so much.
I wish I didn't know how binary search works so that I could enjoy this video more
a playlist of data structures and algs videos from Fireship would be a lifesaver
I would use the .indexOf() function instead of a for loop
Thats Language feature not available in all languages and you aren't allowed to do that
Need more 100 seconds of algorithms. So much fun to learn it this way.
1:27 Recursive func best example😂
Wow. The simplicity is amazing. Would love more of these. Thanks
This is a good video. But I see one flaw in it. You haven't explained the fact that binary searches work only in an environment where everything is sorted
0:39 "given a sorted array"
in a 100s video every word counts
We want hundreds of videos like this discussion about popular algorithms and implement them in our favourite javascript
Who's gonna tell him that these videos are all 150 seconds long?
wait let me knock his door....
i guess O(1.5n) is still O(n)😂
Hi Fireship, I am learning data structures and algorithms. Please continue. I actually like the way you simplify things.
typo at 1:05 (search)
You should make more vids on Algos, this one was really good.
First
didn’t ask + don’t care + ratio
Ratio
🥇 Gold!
Make a whole playlist like 'Algorithms in a nutshell' or something like that and explain all those algorithms out there in 100 seconds.
I know this is a relatively old video, but I love these algorithm videos, please return with more of these in depth algorithm videos if you feel like it:)
Your method of teaching both in the "to the point" time constraint and the visuals have really helped me better understand what a lengthy memorization-centric course fails to do.
I wish this episode exist before we had a binary search topics. To be honest, this is a lot easier to grasp than our previous discussion.
A series about different algorithms would be great
Once again this man has made me understand code so much better
This is the best explanation of binary search algorithms I've seen.
I absolutely need more algorithm oriented content this is fantastic.
I don't comment much, but this is probably the most useful and efficient 100 seconds that I can ever give to UA-cam. Please make more of these!
This channel is so good it's raising my ADD everywhere else.
Well explained, Please continue making algorithm videos
Just learnt this in Computer Science, this helps my knowledge even further
“Now it’s time for your technical interview”
_Skyrim combat music begins_
Algorithms are perfect to cover because their implementation transcend any single language.
Love Zuc shaking his head when you failed the interview at 0:48 - that was brilliant!
You explain that in 2 minutes better than any of my professors could in a half hour. I would really love to see how you present dynamic programming, maybe with a genetic sequence alignment example.
Hey I learned about these from computer science and didn’t understand a single thing but your 100 seconds made me understand everything, thanks I genuinely needed this 😁
Amazing explanation for a common problem that is very helpful. Please do more of this!
love it! these are great for practicing for coding interviews - especially if you cover more complex topics that are hard to visualize (dynamic programming, fast/slow pointers, loops etc)
Please continue to release these videos. Algos/DS are always top of mind for most folks interview prep, amazing stuff as always.
It would be great if you could cover the most common algorithm and data structures topics that are asked in interviews. Also, topics like solid principles, deadlocking, etc. Your videos make a great refresher for any concept without being boring. In any case, thank you for the great work!
You are a genius at teaching, I will watch and use whatever content you make, including more algorithm vids.
Please do 100 seconds of all the data structures related algorithms that exist in the world!
There should be an entire series of 2~ minutes of videos on algorithms like this.
Please more algorithms simplified like this so I wont forget after looking it up for the 100th time
This is way better than my college professor sending some rando's video.
Would love to see you discussed algorithms more!
Oh my god, this dictionary example really made everything clear. Thanks mate.
I also would pay for a in-depth series that taught the most useful ones with steps for how to break problems down and learn how to identify which DS/algorithms would be best to apply to different categories/types of problems
Yes please! Great job at simplifying it. Way easier to understand than via leetcode
Simple straight forward videos abt data structures & algorithms, YESSSSSSSSSS
Damn Jeff, to explain Recursion AND BS in 100s is just a testament to your skills dude.
Quite an interesting algorithm and certainly one important for all developers, regardless of language or field. The video explains it quite well. Keep up the good work Fireship!
Yes we would like to see more algorithms videos and also data structures as well
I’m liking where this is going. As a beginner game dev, I think it would be awesome to learn some more on some path finding algorithms
Yes a series of these different Algorithms would be great
we definitely need a series on algos and DS , the Jeff way, the fireship way.. simple and easy to remember
We want more videos like this on algorithms and data structures.
ধন্যবাদ ,উপকার হলো।
আমার নতুন চ্যানেল,তাই নতুন নতুন অনেক কিছুই শিখছি।আমি আপনার ভিডিওই বেশি দেখি,আর উপকৃত হই🙏দয়া করে পাশে থাকবেন।
would love more videos about algorithms like this video concise and to the point and with an example to understand. Keep it going
Dude we are going to be learning this in my AP CS class tomorrow, what timing!
Woah, that's pretty cool! I knew how to do it but by using a recursive function it was definitely a much different approach I hadn't seen before. Looked so much better than a binary search algorithm I had made earlier.. The explanation was so much simple and straight forward from the one in my textbook. This is absolutely amazing!
Yes, we need to see more videos about algorithms and data structures please!
Would love to see most famous sorting algorithms in 100 second videos.
Man, this 100 seconds videos on algorithms are a pretty nice refresh. Would be good also for people who wants to learn this kind of things, but find themselves overwhelm with books definitions. Nice job as always !
Love this series on algorithms! You should do more
Java
static int linearSearchRange(int[] arr, int target, int start, int end){
if(arr.length == 0) {
return -1;
}
for (int i = start; i < end; i++) {
int element = arr[i];
if (element == target) {
return element;
}
}
return -1;
}
I just got your video while taking a quiz on it for my class 😭
This is amazing!! U gotta make more of these!!!
Btw: typo at 1:14
Please cover sorting algorithms with visualisation, many people keep forgetting how merge sort l, quick sort, heap sort,... work. A good visualization with explanation like yours will be very effective in these topics.
Beautiful! I want more videos like this! Common algorithms explained and implemented.
This search algorithm really recall back how fun it was to make games.
The flipping-through-a-dictionary analogy is so good, wish I had this video when I was interviewing!