Big O in 2 Minutes

  Рет қаралды 24,658

Codebagel

Codebagel

Жыл бұрын

Big O notation is one of the most important algorithmic topics for coding interviews. Today we'll be understanding it in just 2 minutes.
🔗 Resources
Big O Cheat Sheet: www.bigocheatsheet.com/
🎵 Music
Music Courtesy of Epidemic Sounds
Tea Tree - Jobii
Pick Up Your Phone Please - baegel
#coding #softwareengineer #bigo

Пікірлер: 41
@yuqingpeng6523
@yuqingpeng6523 Жыл бұрын
I have learnt Python for a couple of months now, and I have always seen Big-O notation many times but never really knew what it was. Your explanation was very clear and now I understand. Keep up the amazing work. This channel definitely deserves more support.
@Codebagel
@Codebagel Жыл бұрын
Thanks so much Yuqing! I’ll keep working to create helpful content!
@voegel
@voegel Жыл бұрын
To be honest, I am at this point not even a freshman at university. But you explain and describe the topics you picked so well that I can understand them (obviously not thoroughly but with a good overview). These 3 minuted are amazingly worth it. And - because we‘re talking about algorithms - I cannot understand how the KZbin algorithm doesn’t highlight you. Well, that’s proof enough: Google must improve. Have a nice day! Julian
@Codebagel
@Codebagel Жыл бұрын
Thanks so much Julian! Really makes my day to see that I’ve helped someone! And yes haha, I’m hoping the KZbin algorithm can catch me sometime soon, but for now I’m just glad to be making content that helps a few people :)
@besherkhayat2190
@besherkhayat2190 Жыл бұрын
Spectacular and clear as usual! ❤️
@Codebagel
@Codebagel Жыл бұрын
Thanks so much Besher! I’m glad you’re enjoying the content!
@OverlordOfNerds
@OverlordOfNerds Жыл бұрын
I only knew the name 'Big-O' and had no idea what it was about. Now I understand what it means at least. Thanks for the explanation! Was so clear and understandable.
@Codebagel
@Codebagel Жыл бұрын
Thanks so much! I’m glad I could help!
@rosek6585
@rosek6585 Жыл бұрын
Small note: sometimes O(n) refers to the size of the input (in bytes, for example), but sometimes it refers to how large the input number is. For example, the complexity of finding the nth fibbonacci number via a simple iterative loop storing the previous two numbers (pseudo code: let mut prevprev, mut prev = 1, 1; for i in [2..n) { let x = prev + prevprev; prevprev = prev; prev = x; }), is usually referred to as O(n) but it's O(n) in the value of the input, not its size. It grows much more rapidly with the size.
@Codebagel
@Codebagel Жыл бұрын
Awesome comment!!
@mokho3027
@mokho3027 3 ай бұрын
love your videos and visuals. keep it up
@myst.youtube
@myst.youtube 3 ай бұрын
This is the best explanation for Big O and how important it is.
@helloworldcsofficial
@helloworldcsofficial 2 ай бұрын
More of these please! Thanks!
@MrRe-sj2iv
@MrRe-sj2iv 2 ай бұрын
Thank you so much for such a helpful information.
@aninditabatra3810
@aninditabatra3810 8 ай бұрын
best explanation all across youtube!
@Codebagel
@Codebagel 8 ай бұрын
Thank you! I hope I can continue to help you!
@HusamOdat-qq6ii
@HusamOdat-qq6ii 23 күн бұрын
Awesome channel with incredible content .. keep going
@manesito19
@manesito19 Жыл бұрын
Big 🍩 Notation 🔥
@Codebagel
@Codebagel Жыл бұрын
Haha love this! Big 🥯 Notation!
@iamthesrm
@iamthesrm Жыл бұрын
I am one of your viewer from 1K subscription! Congratulations 🎉 Keep up the good work brother 🥰
@Codebagel
@Codebagel Жыл бұрын
Thanks so much!
@itzDJ73
@itzDJ73 Жыл бұрын
Great video! Just found your channel and subbed
@Codebagel
@Codebagel Жыл бұрын
Thanks so much DJ!!
@itzDJ73
@itzDJ73 Жыл бұрын
@@Codebagel Of course! I look forward to seeing your channel grow
@chamarr
@chamarr Жыл бұрын
great vid! where is the best place to learn DS and algo for absolute beginners, and what is the best strategy to learn and retain that info?
@Codebagel
@Codebagel Жыл бұрын
The best place to learn DS and algo for absolute beginners is right here, on this channel! I plan on making videos for every single data structure and algorithm, but for now, here’s the plan I would recommend: 1) Watch my video on Top 7 Data Structures, and later this week when it comes out, the video on Top 7 Algorithms 2) For each DS and algo in those videos, Google them in your language of choice. For example, if you code in python and the next item on your list is hashmaps, Google “Hashmaps in python”. You’ll find a ton of resources here. 3) Once you’ve gone over all the DS and algos, start practicing LeetCode. I recommend checking out NeetCode.com for a list to start with. If you can’t come up with a solution, don’t worry! Look at the answer, take time to understand it, and then move on. You’ll get better over time. You just gave me an idea to make a video about a full DS and Algo plan for beginners. I’ll get that out by next week. Hope this helped, please let me know if I can help at all!
@D4rkJvck
@D4rkJvck 10 күн бұрын
The last song title please...
@levydorgival9883
@levydorgival9883 Жыл бұрын
There's a parenthesis mismatch in your thumbnail, maybe "O(n(log(n))" was not intended.
@Codebagel
@Codebagel Жыл бұрын
Thanks for bringing this to my attention. It has been fixed!
@dylaneveryday365
@dylaneveryday365 Жыл бұрын
👌
@Codebagel
@Codebagel Жыл бұрын
👌
@shirazkamran1021
@shirazkamran1021 3 ай бұрын
Beautiful! You gained a new subscriber and hopefully a new student eagerly waiting for new videos.
@islaminjass6898
@islaminjass6898 Жыл бұрын
W
@Codebagel
@Codebagel Жыл бұрын
W
@JustaSimpleComplexSyrian
@JustaSimpleComplexSyrian Жыл бұрын
wtf is this tho? is this university level or highschool stuff?
@Codebagel
@Codebagel Жыл бұрын
This is typically university level stuff, although it’s a very important topic for interviews that often goes under-taught
@JustaSimpleComplexSyrian
@JustaSimpleComplexSyrian Жыл бұрын
@@Codebagel Good cuz iv never heard of it, I will be in university next year, I thought I was stupid, thank you for replying.
@Codebagel
@Codebagel Жыл бұрын
@@JustaSimpleComplexSyrian no worries! And hey, if you’re just going into university and you know anything at all, you’re miles ahead of most people. Don’t get too worried if there’s a few things you haven’t learned yet, you have the next few years of your life to get it all!
@JustaSimpleComplexSyrian
@JustaSimpleComplexSyrian Жыл бұрын
@@Codebagel Thank you, I really appreciate the motivation.
@Codebagel
@Codebagel Жыл бұрын
@@JustaSimpleComplexSyrian No worries. It’s good that you’re on it this early. If you’re able to stay ahead of things in year 1, you’ll be set for internships in years 2 and 3, and this opens the door to working at any company you want. Sky’s the limit, just keep working hard, and remember to take time and enjoy life :)
Top 7 Data Structures for Interviews Explained SIMPLY
13:02
Codebagel
Рет қаралды 106 М.
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 14 МЛН
КАКОЙ ВАШ ЛЮБИМЫЙ ЦВЕТ?😍 #game #shorts
00:17
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 93 МЛН
Big-O Notation - For Coding Interviews
20:38
NeetCode
Рет қаралды 396 М.
Big-O notation in 5 minutes
5:13
Michael Sambol
Рет қаралды 1 МЛН
No-Nonsense Frontend Engineering Roadmap
15:09
Codebagel
Рет қаралды 52 М.
Learn Big O Notation In 12 Minutes
12:18
Web Dev Simplified
Рет қаралды 181 М.
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 265 М.
Learn Big O notation in 6 minutes 📈
6:25
Bro Code
Рет қаралды 196 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 370 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 499 М.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 116 М.
Цифровые песочные часы с AliExpress
0:45
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 4,6 МЛН
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 263 М.