Complete Beginner's Guide to Big O Notation

Поділитися
Вставка
  • Опубліковано 20 лип 2024
  • Learn the basics of Big O Notation and Time Complexity in this crash course video. Learn how to evaluate and discuss the performance of different solutions to the same problem. How do you know which implementation is best?
    If you're ready to launch your career as a software engineer, check out my job-guaranteed bootcamp with Springboard: springboard.com/workshops/sof...
  • Наука та технологія

КОМЕНТАРІ • 282

  • @petercannon1865
    @petercannon1865 4 роки тому +98

    This has to be one of the best, most thorough, beginner friendly, and most simple ways of explaining this subject. Most other tutorials brush past that clear explanation you delivered with the initial graph and end up losing their audience in a swamp of technical jargon overload to the point where they give up. Thank you for your clarity on this important topic!

    • @ColtSteeleCode
      @ColtSteeleCode  4 роки тому +10

      Thanks, Peter! Big O is tough to teach, but that's what makes it fun to me. I think the topic itself isn't all that exciting, but it's fun to try and come up with ways to explain such a dense/technical thing.

    • @DanT-iu6oc
      @DanT-iu6oc 4 роки тому +2

      this completely explains hacker rank's shitty explanation. that woman is an absolute idiot explaining nonsense

    • @rodanm
      @rodanm 4 роки тому +2

      @@DanT-iu6oc Bro, dont be a pussy nor hater..
      Colt, sorry for making fight here, just defending humanity and education.

  • @majia
    @majia 2 роки тому +11

    I could cry, thank you so much. This is the first time Big 0 has ever made sense to me. I cannot thank you enough, you're an excellent teacher. Thank you for starting with the benefits of Big O (the why we need it) before jumping into to the hows. I'm always a why person and most folks just jump into teaching you how to find it. The visual graph in the beginning for someone whose background is not in math was extremely helpful.

  • @andriitynok3897
    @andriitynok3897 5 років тому +174

    The best explanation of Big O I've found so far :) Thanks

  • @stockmarketinvestingforeve6263
    @stockmarketinvestingforeve6263 4 роки тому +44

    This is by far the best explanation I've seen/read/heard.

  • @robertsiepkowski6479
    @robertsiepkowski6479 5 років тому

    I watch dozens of different teachers on many different platforms and you are the only one who seems to keep me engaged. I can't pinpoint what makes you so much better, but I just learn from you and I actually finish your videos and understand what the heck you're saying. You truly have a gift Colt. We are very lucky you decided to become a teacher. Thank you for all that you do.

  • @masoudmokhtari3904
    @masoudmokhtari3904 5 років тому +13

    This is one of the most intimidating CPSC subjects in our engineering program. I was also asked questions about this in a firmware validation job interview. I really wish you had covered this when I was taking that CPSC course. You are a year late! 🤣 thanks for the great content and your top notch courses on Udemy.

  • @AkatsukiRen8
    @AkatsukiRen8 10 місяців тому

    BEST explanation of Big O I've found. Thank you SO much! --From someone who didn't take decent math in school

  • @jacsonmiranda
    @jacsonmiranda 4 роки тому +10

    searching for this subject on youtube, than I recognized Colt's voice (I took bootcamp course).
    Good lessons as always

  • @dandandan01
    @dandandan01 5 років тому +1

    This is the best video and explanation of Big O that I've seen and I feel like this should be shown in all CS courses. Thank you so much for this, you've helped me a ton and got yourself another subscriber.

  • @saurabhjethi3859
    @saurabhjethi3859 3 роки тому

    So far the best explanation! Have been going through several videos to understand and with the details and examples in this one, this makes it easy to understand! Thank you for this!

  • @Engbic
    @Engbic 3 роки тому +1

    This is the best video to start with if you wanna know about Big O notation from zero knowledge of it. Thanks Steele

  • @rinkeshgokulchandani4181
    @rinkeshgokulchandani4181 5 років тому +3

    One of the best introductory videos on Big O Notation and eagerly waiting for the React Course as well as the Webpack Video.

  • @Abhi-oo9ki
    @Abhi-oo9ki 4 роки тому +1

    Seriously, one of the best tutorials on Big O notation. Really liked it a lot!

  • @go_all_the_way
    @go_all_the_way Рік тому

    I'm a self taught developer getting ready for technical interviews. This video is the best one on UA-cam covering big O notation

  • @zizothegreat2769
    @zizothegreat2769 4 роки тому +15

    I am currently taking your MySQL class on Udemy. I surprisingly stumbled on this video and was like waiiiit a minute, I know that voice lol

  • @landrybenimana7183
    @landrybenimana7183 3 роки тому +1

    This is the best explanation video I've run across so far, super simple and to the point

  • @babatundeololade6765
    @babatundeololade6765 5 років тому +37

    Welcome back Colt.Good to hear that you're almost done with the react course.

  • @AF-bn3ps
    @AF-bn3ps 4 роки тому

    WONDERFUL video!! I’m a beginner coding student and this video was THE MOST helpful and easy to follow and understand video I’ve found. Well spoke and very clear. You explained everything in simple terms with wonderful graphics. Thank you!!!

  • @robinwarden3864
    @robinwarden3864 4 роки тому +1

    This video has helped me sooooo much!!! No one else could clearly explain to me what Big O actually was. You've officially succeeded in translating the Japanese.

  • @ddaanniieellllee
    @ddaanniieellllee 4 роки тому +2

    New to programming and I’m trying to get down the key concepts and big o notation has always been confusing but this is the best explanation I’ve stumbled upon yet! Also noticed on the description you have a springboard boot camp, I’ve been hesitant about dropping bucks on boot camps but I would totally take that if you are still teaching it

  • @danielszalok8540
    @danielszalok8540 5 років тому +1

    Best video on UA-cam about the subject. Well done!

  • @adityaojha5776
    @adityaojha5776 4 роки тому

    I read a comment that this is the best video on big o notation, now I agree. He was simple and to the point perfect for noobies or even intermediates. Thanx Colt. I'd love to see more videos on different topics of programming and competitive programming.

  • @bigtimbers9025
    @bigtimbers9025 5 років тому +2

    Life always finds a way.
    This was a great explanation! Thank you!

  • @shankerm3959
    @shankerm3959 4 роки тому +1

    This is definitely the best explanation on big-O. Thank you. Subscribed!

  • @ArtyomMe
    @ArtyomMe 5 років тому +2

    Thanks for the video, man. This was very much a Richard Feynman style of explanation. Very helpful.

  • @jennyggf3556
    @jennyggf3556 5 років тому

    A LOT better explanation than all the other videos I have seen about Big O Notation!!

  • @chenarabdulla8981
    @chenarabdulla8981 4 роки тому

    Thanks so much for this awesome explanation. I struggled a lot understanding this Big O notation, but you made my day. Thanks again.

  • @ehaltom1
    @ehaltom1 5 років тому

    I watched quite a few videos on this topic and this video is the first one I watched where Big O kinda clicked! Thank you for that.

  • @cjleee4fun
    @cjleee4fun 4 роки тому

    This is just so good! Crisp and to-the-point. Am subscribing

  • @EdmundAlynJones
    @EdmundAlynJones 4 роки тому

    You’re explanation is great. However, your design and color combos for this presentation are BANGING! Looks so good.

  • @V99.2
    @V99.2 4 роки тому

    So many videos I watched to understand BigO. This is the best. Practical and visual examples... Grate work. Thankyou...

  • @falconiere
    @falconiere 2 роки тому

    This is the best explanation I've seen in my life about Big O notation. You are the best!

  • @leonard7065
    @leonard7065 5 років тому

    best explanation of Big O, been searching for a clearer explanation of the subject, thank you sir!

  • @dentsu_
    @dentsu_ 3 роки тому

    Thanks. After looking for an actual coherent explanation all day, I have found your video. Hopefully future students find this video first

  • @tomascanevaro4292
    @tomascanevaro4292 4 роки тому +1

    Helped me a lot to understand my algorithms course in collage. Thank you so much!

  • @gobraz
    @gobraz 4 роки тому +4

    This is the best explanation I've seen.

  • @benjaminhill5408
    @benjaminhill5408 3 роки тому

    Awesome video. Learned a lot. The video i saw of someone else explaining this i got confused like 1 minute in so i'm so glad i found this video

  • @Ravetoon
    @Ravetoon 5 років тому +2

    Great explanation and breakdown of the examples. I definitely have a better grasp of Big O Notation now.

  • @hyrdeshgangwar
    @hyrdeshgangwar 4 роки тому

    If you know nothing about time complexity .. this is the perfect video ... explained in the most easiest way possible ...

  • @ekings2119
    @ekings2119 4 роки тому

    Thank you so much. The little exercises at the end are surprisingly helpful.

  • @repolly1000
    @repolly1000 3 роки тому

    wow! this was incredible! I got here after seeing a different video explaining Big O and I was kinda panicking because I didn't understand it at all, and here you explained it really well, really accessibly.

  • @RyanTosh
    @RyanTosh 5 років тому +3

    The cats staring into my soul while you talked about subscribing definitely worked...cats are the best strategy.

  • @ejiroolokpa4933
    @ejiroolokpa4933 2 роки тому

    Thank you ! I have watched many other videos, and this video gave me a better understanding of the Big O Notation. Keep up the good work :)

  • @Shad1991
    @Shad1991 3 роки тому

    thats why he's the best..takes complex topic and makes it seem so simple...God bless you Colt

  • @ZKlabunde
    @ZKlabunde 3 роки тому

    Colt is the best instructor! Amazing to see you making videos man! I miss teaching with you!

  • @kawaljitsingh3520
    @kawaljitsingh3520 5 років тому

    Thank you so much, Colt! this video clears a lot of doubts of mine.

  • @chorton53
    @chorton53 3 роки тому

    I found your video very clear and easy to understand. Thanks and Happy Holidays !

  • @thomasebel7824
    @thomasebel7824 5 років тому

    Awesome video! First time I understood this concept. Thanks a lot!

  • @gingerbeardworkouts2955
    @gingerbeardworkouts2955 4 роки тому

    By far the best tutorial on O notation. Take a bow sir. Thanks

  • @xanvong1501
    @xanvong1501 4 роки тому

    Thank you ! you make it very easy and simple to understand the Big O notation which it's complex !

  • @pilatec
    @pilatec 4 роки тому

    The Big O notation concept felt abstract and complicated to me until i came across Colt's explanation. I'm like, "how could i have not understood this!". Thank you so so so much man!

  • @thedbzr213
    @thedbzr213 4 роки тому +5

    Dude! oh my goodness that totally helped it “click”! Thanks for the video it was short but very clear and understandable. Totally getting a sub from me thanks again!

  • @samvmsvm
    @samvmsvm 3 роки тому

    Thanks for making this video! It's really easy to follow and understand.

  • @rupeshvislawath
    @rupeshvislawath 4 роки тому +1

    I really wish you were my teacher in grad college... Such an amazing simplification of the concept!

  • @jonatanramhoj
    @jonatanramhoj 5 років тому

    WO(n)derful explanation! Simple and straight forward with easy-to-follow examples and illustrations.

  • @thismoment57
    @thismoment57 4 роки тому

    Brilliant! Superbly explained! Thank you Colt!

  • @jpcampbell
    @jpcampbell 4 роки тому

    Probably the thing they hammered into us most at college. I’m glad they did.

  • @mohithnayak2815
    @mohithnayak2815 4 роки тому

    I got a clear picture of big O basics after watching this video. Thanks!!

  • @arteria6536
    @arteria6536 2 роки тому

    Thank you so much! Finally! Someone who can make this topic seem easy to understand.

  • @jstn7659
    @jstn7659 3 роки тому

    I've graduated with a computer science degree and never really understood Big O until now. Thank you so much. It was always so confusing from my professors

  • @Pgarbs
    @Pgarbs 5 років тому

    Colt, cannot wait for the new React course. Will definitely be purchasing day 1.
    Any plans to show how to connect a React front end with a Node back end?
    Thanks for all your hard work!

  • @armsjarbc8597
    @armsjarbc8597 2 роки тому

    Your a really good teacher, I’m glad I found this video

  • @narasimharao7007
    @narasimharao7007 4 роки тому

    i have searched for too many videos for BIG O, but after seeing this i got answer for BIG O thanks a lot bro

  • @JuanGonzalez-cl2fy
    @JuanGonzalez-cl2fy 4 роки тому

    This is an amazing video. Great work!

  • @jff711
    @jff711 4 роки тому

    Very helpful and clear explanation. Thank you!

  • @jachimikeonuoha5447
    @jachimikeonuoha5447 4 роки тому

    Great Video! I now understand Big O so much better 👍🏾

  • @davidjfertitta4050
    @davidjfertitta4050 4 роки тому

    This was an awesomely clear explanation. Thanks!

  • @Fer-jf3pl
    @Fer-jf3pl 4 роки тому

    Wow best Big O explanation on UA-cam. Thanks!

  • @moe8438
    @moe8438 3 роки тому

    I never comment on videos but after yelling Yes! as I answered your really easy questions at the end, I felt really "fuzzy" inside. Thanks for making this!

  • @zyenapz
    @zyenapz 3 роки тому

    Thank you for the simple explanation! I have subscribed to your channel!

  • @jaweedakhtar
    @jaweedakhtar 4 роки тому +1

    Phenomenal - great explanation of Big O .

  • @gixxerblade
    @gixxerblade 4 роки тому

    Best video on BigO notation. Thank you!

  • @madpassager607
    @madpassager607 5 років тому

    this is the best way to define anything great job Sir!!!

  • @alphonseprakash7459
    @alphonseprakash7459 3 роки тому

    its literally the best big O videos present on youtube thanks.... : D

  • @SyedObaidullah555
    @SyedObaidullah555 4 роки тому

    Amazing mate! Thanks for this video.

  • @jamesmiller2521
    @jamesmiller2521 4 роки тому

    Your explanation is the best! Thanks a lot!

  • @juanalbors6759
    @juanalbors6759 5 років тому

    Hey Colt! I come from your udemy training on mysql. It was amazing. Nice to see you're doing well!

  • @ruby2thursday
    @ruby2thursday 3 роки тому

    this was super insightful. thank you!

  • @tatjanaburdett2854
    @tatjanaburdett2854 3 роки тому

    Life saver as always!!! Great video!

  • @rahulpurohit9612
    @rahulpurohit9612 5 років тому

    Thanks Colt for your good courses.

  • @bra5081
    @bra5081 4 роки тому

    Thank you it's a very good video. Everything is well explained.

  • @katiagalkina4607
    @katiagalkina4607 2 роки тому

    A huge thank you! This was totally awesome! 👌

  • @daveeddrumz5097
    @daveeddrumz5097 Рік тому

    This video has been really helpful, Thanks so much

  • @skilz8098
    @skilz8098 4 роки тому

    I find that the easiest way to understand Big O notation is based on 2 important concepts. One of them pertains to regression! If you remember from your Algebra days when you plotted a bunch of points and you had to use regression to approximate either a line (linear equation) a smooth curve either it be a polynomial with an order of exponent that is greater than 1, exponential, logarithmic or sinusoidal, there is almost a direct correlation between the concepts of Regression in mathematics and Big O notation. When it comes to Big O notation the most common forms are O(1) - constant time, O(n) - linear time, O(n^2) - quadratic time, O(n^m) : m > 1 polynomial-time including quadratic time, O(log n) logarithmic time and O(n log n) combinational between linear and logarithmic time. As far as I know, I have never seen any kind of computational algorithm that is sinusoidal or trigonometric such as O(sin n) or O(tan n)...
    The second part pertains to which term of your expression grows the fastest or has the highest rate that is of importance and all other lower order terms and constants are irrelevant. For example; if we have a function that has the operations that satisfy this time complexity expression: T1 = 3n^2 + 2n + 6. The overall time complexity is simply T1 = O(n^2) and it is quadratic time. The reason for this is that the term 3n^2 has the highest order of exponent compared to the terms 2n and 6. This means that it will grow much quicker than 2n, and the term 6 is constant as it never changes... So we are left with the term 3n^2. Once you find the term with the highest order of exponent then you can simply ignore the coefficients as they are constant as well! So the proposed definite time signature of 3n^2 + 2n + 6 is easily simplified to O(n^2). This kind of function would be analogous to a double for-loop as if you were traversing through a square matrix with size (n) that has n^2 elements! It is also based on the number of operations within the function! Space complexity is similar however it doesn't pertain to the number of operations that need to be performed, it pertains to how much memory is required to perform that function!

  • @sallaklamhayyen9876
    @sallaklamhayyen9876 2 роки тому

    Short concise and informative content thank you Colt

  • @user-hc5kq6zd1n
    @user-hc5kq6zd1n 4 роки тому

    Very helpful tutorial man, thanks a lot !

  • @techchak9916
    @techchak9916 5 років тому +2

    i am waiting for ur react course and will definitely enroll in it

  • @marshallvalentino2572
    @marshallvalentino2572 4 роки тому +2

    This is the best explanation on The big O notation that I've found so far!

  • @DanT-iu6oc
    @DanT-iu6oc 4 роки тому

    Colt you are doing God's work my friend, keep it up you AMERICAN HERO

  • @ASoftwareEngineer
    @ASoftwareEngineer 5 років тому

    thanks for the great vid, will check out your algorithm course

  • @ivammagalhaes7155
    @ivammagalhaes7155 3 роки тому

    Great explanation, Colt!

  • @MarsLanding91
    @MarsLanding91 4 роки тому

    Very helpful, thank you! Can you recommend a video on O(log n) or n(log n) time complexities?

  • @karemkhaled2361
    @karemkhaled2361 Рік тому

    Thanks for your effort, it so helpful for the beginners

  • @damirko
    @damirko 5 років тому +2

    Great intro video to the Basics of Big O Notation. I look forward to seeing more on this subject. Ty for taking the time to make and post it.

  • @prasannab7706
    @prasannab7706 2 роки тому

    Thanks for the clean explanation.

  • @JR-em2hn
    @JR-em2hn 3 роки тому

    Very complex topic yet Colt makes it super clear. ''I'll just show you pictures of my cat so you are entertained'' lol

  • @SR-rd3fw
    @SR-rd3fw 4 роки тому

    @Colt thanks for the simple explanation.

  • @godspeedmacias9799
    @godspeedmacias9799 4 роки тому

    Best explanation I found, thanks

  • @hcbpassos
    @hcbpassos 4 роки тому

    Your didactic is insane. Keep the great work.

  • @majdalin1265
    @majdalin1265 Рік тому

    great video Thank you so much you made it easier