Тёмный

Learn Big O Notation In 12 Minutes 

Web Dev Simplified
Подписаться 1,6 млн
Просмотров 188 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 214   
@chovbee
@chovbee 2 года назад
I literally spend hours, looking through various videos to try and learn on new things and I never learn as much as I do from your videos man. I really don't know what is is, but the way you explain and teach, there is a simplicity to it that just makes everything click for me. Your channel has helped me so much throughout college and now its helping me prep for my first big interview, I really can't thank you enough man!
@threeone6012
@threeone6012 4 года назад
This is the best programming channel on RU-vid.
@krishuang793
@krishuang793 4 года назад
I agree. Simple & straightforward.
@jdreign7210
@jdreign7210 2 года назад
facts, my go-to every time
@64imma
@64imma Год назад
I've been looking for an explanation for this for like an hour now, and this video has by far been the easiest to follow along with and understand. Thank you very much.
@fredianriko5648
@fredianriko5648 3 года назад
what about O(log n) how would you explain it? and what the example of the algorithm that represent O (log n) ?
@codeexposer
@codeexposer 17 дней назад
I wached lots of videos , but I didn't get a clear view. but Now I got.. Thank you man.. ! respect..
@rohitkudalkar92
@rohitkudalkar92 4 года назад
I was waiting for all your data structure and algorithms videos and here start one. Love and support and care ❤️
@WebDevSimplified
@WebDevSimplified 4 года назад
I have another data structure video releasing soon as well.
@RoshanKrSoni
@RoshanKrSoni 4 года назад
@@WebDevSimplified will be waiting Kyle
@ProgrammingWithProject
@ProgrammingWithProject 4 года назад
@@WebDevSimplified please make a series of Data Structure and how to use in a project
@sandeepreddy6247
@sandeepreddy6247 4 года назад
Which language is best for learning, data structures and algorithms. I'm very good at javascript. & very familiar with java & c. Please somebody HELP ME. as I have to continue with js or java or c.
@ProgrammingWithProject
@ProgrammingWithProject 4 года назад
@@sandeepreddy6247 if you make project in javascript and apply data structure on it then start with it
@RoshanKrSoni
@RoshanKrSoni 4 года назад
That's why I clicked bell icon. Coz only you know what we need. Thanks Kyle for making this 😍 You are Superman.
@chris94kennedy
@chris94kennedy 4 года назад
I legit don't use the bell icon for anyone because fuck getting youtube notifications. Except this channel.
@RoshanKrSoni
@RoshanKrSoni 4 года назад
@@chris94kennedy i know & never click anyone's bell icon. But this guy deserve it. His contents made me to do this.
@boss_man9142
@boss_man9142 Месяц назад
Just taught me in 12 minutes what I’ve been stressing over for 2 days. Fair enough.
@sanjitselvan5348
@sanjitselvan5348 Год назад
When I searched about time and space complexity, I saw some very popular channels videos and yours as well in that list. I clicked yours first cuz I trust your knowledge and your way of explaining things is way easier to grasp. Thanks a ton man!
@glinspire1103
@glinspire1103 Год назад
This is the best and simplest video I ever found about Bio O Notation. Thank you man
@dev_casper
@dev_casper Год назад
Thanks kyle. Big(O) notation is something I have always got confused from multiple sources. This video is really helped me to understand with simple examples.
@BigSmoke-r9w
@BigSmoke-r9w 2 месяца назад
Thank you! Web dev simplified has been my teacher since html and CSS! I'm now studying intermediate javascript and CS50 and he's still the guy that is helping me undwrstand everything ❤
@DirePantsDim
@DirePantsDim 3 года назад
This was probably the simplest explanation of this topic. Thank you!!!
@basictoadvance9490
@basictoadvance9490 3 года назад
your video's help me lot usually I never preferred to watch video's for learning but when I started watching your video its really easy and understandable for me. Your content is very simple and short and understandable Thanks for making this
@johnyepthomi892
@johnyepthomi892 2 года назад
This is how you explain concepts like these. Highly appreciate your effort.
@akn9699
@akn9699 4 года назад
That's our vintage Kyle doing what he does best, Awesome Videos of JavaScript & other cool stuffs like this !
@sophielyon5502
@sophielyon5502 2 года назад
man...my mouth literally dropped when you explained the part I NEVER understood about this in a way I finally can understand...
@wepranaga
@wepranaga 4 года назад
Now that I think about it, as someone who does have a job, and have interviewed people before these kinds of question are not meant to be passed. at all, they're just a good excuse to have the liberty to pick which people you might like although there's gonna be exception to those who pass. that's a a different story. sure there's interviews that are sometimes have good intention, that's different too. not all companies are the same though, for some companies. these kind of question can be more of a necessity rather than a luxury but as more and more companies conducting these kinds of interview questions. they're become more of an excuse. not to mention if the person asking the questions even knows what they're talking about in terms of these nuance points, not just comparing them to textbook answers sometimes if not a lot the interviewee are as clueless when it comes to these questions and just treating them as basic checkmark. awesome videos btw, I always enjoy your content.
@felixgraphx
@felixgraphx 4 года назад
Indeed , in web-dev, where things change every 2-3 years, you dont need any of that computer science maths to execute the demands of your boss/client for his web page or app. In fact, technical question in interviews are meant to see how you would handle talking about technical stuff in group settings were they to hire you : Are you a snob intellectual who likes to flash his technical knowledge in an unpleasant way to other coworkers who are not that nerdy? Hiring people is about good chemistry and personalities! Interviewers are looking for people who will fit with the team's member personalities without big ego clashes!! Conclusion: Dont try too hard to impress you're not impressing anyone just be yourself and be honest about how you'd go about tacking a problem while being positive and joyfull: Boom ! You got the job!
@MikeCOYS
@MikeCOYS 4 года назад
That's not entirely true. It depends on the position of the job. If I'm hiring for a senior developer or an architect, I expect them to know these questions as it's important they can create solutions that are performant and efficient, whether they implement it or not.
@alexandresantos7966
@alexandresantos7966 Год назад
Oh man, thank you very much! I was trying to learn alone, but some books about algorithms and data structure think that you have Big O notation previously, and many explanations that I found were so complex.
@ay1ai146
@ay1ai146 Год назад
Great video mate, but there is something I’m still a bit confused. Bear with me a sec. This is the code: For(int I=0; I
@FalseDev
@FalseDev 4 года назад
This is AWESOME, would love to see more of these , thanks a lot for this video
@richardvargas4950
@richardvargas4950 Год назад
I'm a graduate student in statistics self learning data structures and algorithms. This is a great example. I'll note that it's also very intuitive from calculus. For any self learners without a STEM background I feel a business calculus textbook (without trigonometry) might be helpful to quickly understand limits
@rubenvega8454
@rubenvega8454 3 месяца назад
Thank you very good video, it is included as supplementary resource in my software engineering course.
@amalkrishnas1696
@amalkrishnas1696 Год назад
Thanks for the video, made Big O notation very simple and clear.
@sigfigronath
@sigfigronath 2 года назад
this is so well done !
@muhammadyasir7015
@muhammadyasir7015 2 года назад
Wow, you have explained it so simply. Subscribed to your channel after watching this video
@mohamedshahid6063
@mohamedshahid6063 3 года назад
I have see some of the time ( log ) in big O but didn't find on your video, but your explanation was great hope you also explain ( log ) in future.
@DawanWright-f6e
@DawanWright-f6e 8 месяцев назад
One mistake I realized in the video is @9:53... You said the code written is constant. But it is actually linear. Although the outputs are constant, the code still has to run through the for loop. Which gives the code a Linear time complexity. Other than that you did a great job explaining this lesson. Thanks!
@veluh
@veluh 4 года назад
Great course ... took my ds and algorithms course about 2 years ago now great refresher!
@xboxtest4226
@xboxtest4226 4 года назад
I wished you would have been making Videos when i was in College - you are able to explain things that Took me hours to understand so well, quick and precise, It would have saved me so much time! Nevertheless, I Like watching your Videos even If i think that i know Whats going in just to make sure i keep in touch with different topics and basics :)
@saqibmabbasi
@saqibmabbasi 3 года назад
Thanks Kyle, very nicely explained, always had problems understanding the O notation
@rickyzheng572
@rickyzheng572 4 года назад
You should do some advanced algorithm videos or introduce scaling concepts by using docker
@Dracometeor562
@Dracometeor562 Год назад
you are so good in explaining ...Can you make full playlist on course (data structure and algorithm) with code , because I think its more important to a computer science student (2)
@Garrison86
@Garrison86 2 года назад
awesome explanation! really appreciate the simplicity of it.
@tampler9
@tampler9 2 года назад
Very well explained for basic usage.
@ivo_sa
@ivo_sa 6 месяцев назад
best channel for programming !
@theresamclaird1572
@theresamclaird1572 2 года назад
I laughed when you introduced this video by saying "...so you can walk into your next interview...". This does come up in interviews, but it is obviously important to understand time & space complexity of anything you run in a browser. Kyle did a good job of explaining that later on in this video, but I did chuckle when the video started. :)
@Aziqtech
@Aziqtech Год назад
i took 100 days but i did not understood how to learn big O but now i have learn it beacuse i found your vedio thanks
@lattaralll
@lattaralll Год назад
Thanks for such a great explanation!
@madhusudanr8800
@madhusudanr8800 3 года назад
I liked it! The big O notation for recursion should have been added though.
@webdev4786
@webdev4786 2 года назад
You make it so simple. Wonderful!!. I thought Big O has some mathematical formula involved in it. Like the big one.
@lbobrov
@lbobrov 4 года назад
This big O made me headache in the DS & intrO tO algOrithms cOurse
@SquaredbyX
@SquaredbyX 4 года назад
... that's capital O notation...
@morfawelvis1694
@morfawelvis1694 2 года назад
Hey man, just to let you know that I love what you are doing. You are great teacher. Cheers 🥂
@roshdyessam3480
@roshdyessam3480 2 года назад
that was really helpful and handy, thanks a lot for making such video, it was easy enough and understood it one shot
@rafatulalam8677
@rafatulalam8677 3 года назад
Not convinced with this crash course Didnt explain the other types of time complexity like O(nlogn), O(logn), O(2^n). Not to mention space complexity is another important concept that should have been touched. Knowing only time complexity alone wont give a guaranteed success as a developer since memory consumption analysis matters as well.
@CMISNominal
@CMISNominal 2 года назад
you explained so well. thank you
@sanghvian
@sanghvian 4 года назад
[Wake up , See what Brad, Kyle and Ed are upto , Learn , Code , Repeat ] ; for (i=0; i
@vanthuanluong9398
@vanthuanluong9398 7 месяцев назад
Thank you so much. This is really easy to understand. But how about the log ones
@charlesorafu490
@charlesorafu490 Год назад
Perfectly explained!!!!!!!!!!!!
@sethmccullough6206
@sethmccullough6206 4 года назад
Flawless explanation, thanks Kyle!
@nsharma4981
@nsharma4981 4 года назад
Amazingly clear explanation as usual! Till now I only had a surface level understanding of Big O notation but now I feel much more confident about it, thanks to you! A perfect video to brush up on basics 😊 PS: hope your arm wasn't too sore holding up the letters for 3 mins straight! 😜
@bertk3923
@bertk3923 4 года назад
Kyle you’re a legend
@tacowilco7515
@tacowilco7515 4 года назад
Great job, Kyle. Awesome video.
@Virgus66
@Virgus66 4 года назад
Correct me if I'm wrong, but console log something n times still gives you time complexity of O(n) as you perform some action n times. It makes no difference if that is console log something or creating new object. O(1) gives you result in the same amount of time regardless of the size of your input
@xpfe5zrm
@xpfe5zrm 4 года назад
Sounds good to me. You can think of a single console.log operation itself (ignoring the for loop) as an O(1) operation.
@VishalSharma-rn7mt
@VishalSharma-rn7mt 3 года назад
awesome explanation
@caleyCodeLab
@caleyCodeLab 2 года назад
Great video man, really helpful
@cassiodev
@cassiodev 4 года назад
Hello Kyle, this video very good. I'm from Brazil and I like your videos very much man. Thanks for videos 😁
@AnkitMishra-sk8nv
@AnkitMishra-sk8nv 9 месяцев назад
Brother You are a LEGEND
@janaeshkrish
@janaeshkrish 2 года назад
great explanation
@gouranshsachdeva6097
@gouranshsachdeva6097 4 года назад
Thanks for this simple and effective explanation, I always stucked at these, But now i think its sorted😄
@andrewjenson_original
@andrewjenson_original 5 месяцев назад
Question: For your answer O(n+a) at 5:52, can this be re-written to O(2n), which after removing the coefficient becomes simply O(n)?
@misamee
@misamee 4 года назад
What would be the size of the Lester lopp example if you were using recursions instead? Would it be the same?
@nikoladd
@nikoladd 3 года назад
Correction n^2 grows quadratically, which is polynomial, not exponential. In short big O notation is the most significant component of the algorithm complexity function, which represents the amount of computation required(worst case usually) for a given input size. I.e. it's the shortest way to express algorithm complexity, without writing the entire function of it, which makes it easier to compare. Comparing algorithms becomes as easy as: O(n^n) > O(a^n) > O(n!) > O(n^a) > O(n*log(n)) > O(n) > O(log(n)) > O(a) Space complexity is usually not a concern, simply because it's pretty much unusable for anything > O(n^2) for any meaningful input size. I.e. you can't really use such algorithms unless they are in the very efficient side of the scale. But yes you can use such notation to illustrate any type of complexity. Time, space, calls(i.e. non local time) and so on. To be fair it's not much better for the usability of time complexity algorithms. While you can do slightly higher power polynomial time complexity algorithms it's still polynomial ones or faster that you can run with any meaningful input sizes. I really think you missed the opportunity in this video to illustrate how fast the amount of computation requirements grow with complexity even for small n=50. n=3 is silly really for algorithmic examples and won't impress anybody even with a O(n^n) algorithm it's 3^3=27
@singamsettyrupeshkumar8746
@singamsettyrupeshkumar8746 4 года назад
Ur just rocking ...dude...learnt alot from ur videos !...just need some videos on...spring frame work 😃
@nilanjanmitra7459
@nilanjanmitra7459 4 года назад
Hey Kyle! I love your videos and thanks to you, many complicated concepts are now crystal clear. A big thank you for these videos! PS - Can you please make a video about service workers?
@aniketambre2033
@aniketambre2033 4 года назад
this videos are so good even beginner programmer can understand everything so simple and clean thanks for effort your putting❤️
@THE16THPHANTOM
@THE16THPHANTOM 2 года назад
private school quality explanation.
@mahbubtonoy6974
@mahbubtonoy6974 3 года назад
Thank You, my Friend. You saved me.
@Meridian-lk2fo
@Meridian-lk2fo 3 года назад
Great explanation, thank you.
@Binichmoses2
@Binichmoses2 11 месяцев назад
really helpful thank you
@fafichan551
@fafichan551 2 года назад
great job! thank u👍
@kevinat71
@kevinat71 3 года назад
i like the way you teach... thanks my friend!
@salemdayfan7422
@salemdayfan7422 2 года назад
wonderful , thank you
@XX-vu5jo
@XX-vu5jo 9 месяцев назад
Woah, I did not know Jordi was into computer science?!!
@rembrandt702
@rembrandt702 3 года назад
Yes, but once you figure out the O notation - What do you do with it? Do you put that notation through the computer? Or is it that you see it and say hey look O(n^2) looks bad so let's change the algor. I kind of find it useless.
@kvelez
@kvelez Год назад
Great video.
@ChrisTian-ox5nr
@ChrisTian-ox5nr 9 месяцев назад
Thanks this is good!!
@study-channel6301
@study-channel6301 4 года назад
Can you do a Learn FlatMap in X minutes? Thanks for your videos.
@pakistancodehub9720
@pakistancodehub9720 Год назад
I have a question related to Data structure and algorithms. we have studied bubble sort has a big O worst-case time complexity of O(n2). Linear search has O(n) and binary search has O(log N). With all the above info, my question starts here sir, let's have an array. we will apply the binary search to search an array element, before binary search we need bubble sorting because binary search work on sorting. worst case and good are equal linear. Question Can we say linear search === binary search? bubble sort O(n2) + binary O(log N) ) / 2 = linear O(n)?
@hhhttt9100
@hhhttt9100 Год назад
You are a lifesaver
@DavidRussellM
@DavidRussellM 2 года назад
You are the best!
@sandeepreddy6247
@sandeepreddy6247 4 года назад
Which language is best for learning, data structures and algorithms. I'm very good at javascript. & very familiar with java & c. Please somebody HELP ME. as I have to continue with js or java or c. HELP ME, HELP ME.
@acertoumisera1208
@acertoumisera1208 2 года назад
Very good, but what about the other orders like "ln" and "2^n" so on?
@fassoyangce1075
@fassoyangce1075 4 года назад
Thank you for amusing and useful content. I have a question regarding O(n+a) example. Can we say that it's just O(n) since they're both linear?
@MakeItMakeSense285
@MakeItMakeSense285 3 года назад
Yes. Big O drops constants.
@adithyagowda4642
@adithyagowda4642 3 года назад
Yes you can
@jsagar95
@jsagar95 Год назад
Thanks!
@themynamesb
@themynamesb 4 года назад
Great video.. Good work.
@johnadriandodge
@johnadriandodge Год назад
Shalom again. Very nice!
@james94832
@james94832 7 месяцев назад
Excellent
@briandacallos4234
@briandacallos4234 3 года назад
I came from cs dojo and while watching his video I saw a video of kyle on the right side of my desktop so without any hesitation I jumped into it.
@dariokartal9453
@dariokartal9453 3 года назад
Well done, sir.
@doco6186
@doco6186 3 года назад
Insightful
@manny8156
@manny8156 4 года назад
You truly are amazing!!
@Kk-xk5cb
@Kk-xk5cb 3 года назад
only you can save my life Kyle, I own you
@BoyhoJJ
@BoyhoJJ 2 года назад
Nice video! Just a quick question, is O(a + b) the same as O(a) + O(b)?
@ethandavis4524
@ethandavis4524 2 года назад
thank you
@EnXsz
@EnXsz 4 года назад
lmao I have an interview tomorrow, thank you!
@jaypasi509
@jaypasi509 4 года назад
Help me .... I wanna know about saving images with base64 / blob ... what are they how to use them ... are they usefull to use ... im working on cordova to create an android app ... OR tell us how to store user images effectively like profile picture and other images.
@Laranthir
@Laranthir 2 месяца назад
This video is old but I didn't understand why it is O(1) instead of O(n) at 9:40? Is it because data[i] is already allocated in memory but data[i] + data[j] is a new variable that uses a new space?
@Super_Shaq
@Super_Shaq Месяц назад
In case you still have this question, it’s because no new variable was created. So the data is logged but not stored, hence taking no additional space
@user-qs4sz3vl4v
@user-qs4sz3vl4v Год назад
he takes his channel name really seriously, thx
@kushalupreti509
@kushalupreti509 4 года назад
You're awesome mate.
Далее
Big-O Notation - For Coding Interviews
20:38
Просмотров 477 тыс.
What Is Big O Notation?
17:45
Просмотров 314 тыс.
Understanding the Time Complexity of an Algorithm
24:59
Complete Beginner's Guide to Big O Notation
21:58
Просмотров 228 тыс.
Learn Event Delegation In 10 Minutes
9:57
Просмотров 57 тыс.
Big-O notation in 5 minutes
5:13
Просмотров 1,1 млн
Big O Notation, Time Complexity | DSA
21:17
Просмотров 71 тыс.