The Last Algorithms Course You'll Need by ThePrimeagen | Preview

2024 ж. 1 Мам.
297 261 Рет қаралды

Full Course (Free): The Last Algorithms Course You'll Need: frontendmasters.com/courses/a...
About this Course:
Welcome to a super fun, beginner-friendly data structures and algorithms course. Is it really the last algorithms course you'll need? If you want to pass tough interview questions, then yes! You'll learn big o time complexity, fundamental data structures like arrays, lists, trees, graphs, and maps, and searching and sorting algorithms.
Find Frontend Masters Online:
Twitter: / frontendmasters
LinkedIn: / frontend-masters
Facebook: / frontendmasters
Instagram: / frontendmasters
About Us:
Advance your skills with in-depth, modern front-end engineering courses - our 150+ high-quality courses and 18 curated learning paths will guide you from mid-level to senior developer! frontendmasters.com/?...
Sections:
0:00 - Introduction and Course Description
0:36 - Big O
5:11 - Bubble Sort
9:54 - Map

Пікірлер
  • It's a bit weird seeing him so calm and serious.

    @keithprice1950@keithprice1950 Жыл бұрын
    • Right? I didn’t even recognize him in the intro

      @peanutcelery@peanutcelery Жыл бұрын
    • I wanna see a PrimeReacts to this video

      @MattRose30000@MattRose30000 Жыл бұрын
    • But at times you can tell that he can't contain the chaotic engery :D:D

      @sunraiii@sunraiii Жыл бұрын
    • Primegen in some alternate universe

      @rahulspoudel@rahulspoudel Жыл бұрын
    • 100% hahah

      @pointer333@pointer333 Жыл бұрын
  • Prime is one of the most inspirational programmers I've ever had the privilege of interacting with.

    @RyanMartinRAM@RyanMartinRAM Жыл бұрын
    • I'd say as a teacher he has the tendency of all talented ppl in their fields and has a little trouble relating to the noob, but comparing these lectures to the ones on the same topics in uni--pretty fascinating. Primeagen is a worse teacher but an overall much more interesting speaker. X factor.

      @mikelk124@mikelk1246 ай бұрын
  • The longer the video goes, the closer he gets to his streaming persona! Great instructor

    @mabillama@mabillama8 ай бұрын
  • I kept thinking this is a meme and it's gonna go south at any point

    @scoutiano4441@scoutiano4441 Жыл бұрын
    • 😂

      @MatheusOliveira-er4gq@MatheusOliveira-er4gq Жыл бұрын
  • Sounds like if the naughty kid had to give a corporate presentation.

    @jaydeep-p@jaydeep-p Жыл бұрын
  • I see ThePrimeagen in his hoodie but I hear Dr. Prime. He's the CS prof I wish I had.

    @shm236@shm236 Жыл бұрын
  • I love that he is staying true to himself and wears a hoodie.

    @rand0mtv660@rand0mtv660 Жыл бұрын
    • i dont trust any coder who doesnt wear one ;d

      @Microphunktv-jb3kj@Microphunktv-jb3kj Жыл бұрын
  • Unfortunately not as joyfully unhinged as he typically is. It’s ludicrously informative and ThePrimeagen’s teaching style is great.

    @gregorywpower@gregorywpower Жыл бұрын
  • 1:48 He only knows performance. Opposite of performance is not in his vocabulary :D That's how we know him. Keep it up Prime!

    @toup0@toup0 Жыл бұрын
    • Good one 🤣🤣

      @es7729@es7729Ай бұрын
  • Imagine if he taught classes the way he did with his streams 😆was crazy that I was hoping for that haha

    @Brainiac5@Brainiac5 Жыл бұрын
    • "I teach on Windows!! I teach on Windows... Shut up!!"

      @noisycarlos@noisycarlos Жыл бұрын
    • Me too 🙂

      @RogerBarraud@RogerBarraud11 ай бұрын
    • It's still him, just a diluted version, I still love it.

      @liu-river@liu-river7 ай бұрын
  • Describing big O as ‘categorisation’ is simultaneously so obvious and so immensely helpful. I’m going to use that when explaining it to others, thank you.

    @decoyslois@decoyslois6 ай бұрын
  • Such a pleasure to listen to people who are great at what they do explain topics like this. 🤙🏼👍🏼

    @TomoFromEarth@TomoFromEarth Жыл бұрын
  • Not even Neo could have learned this as blazingly fast as i just did!

    @andreasschau4215@andreasschau4215 Жыл бұрын
  • Oh snap I think this is the last algorithms course I will ever need!

    @m1kr0kosmos@m1kr0kosmos Жыл бұрын
  • I feel this could use more coconut oil

    @sebastiaanstoffels7565@sebastiaanstoffels7565 Жыл бұрын
  • Big fan of prime and this preview sold it to me. Will be taking this course, thanks for sharing and thanks to prime for doing this

    @marwanfikrat7716@marwanfikrat7716 Жыл бұрын
  • I cannot believe you have this course up on your website for free

    @skpxtc9926@skpxtc99266 ай бұрын
  • CHAD i3 user with neovim greatness great to see prime in prime

    @prerit714@prerit714 Жыл бұрын
  • Its weird seeing prime so calm and well adjusted

    @vaayuo@vaayuo5 ай бұрын
  • It is indeed the last one you'll need 🙏🔥. It's a really good course.

    @skypuff@skypuff5 ай бұрын
  • edit: I might not like all his content but this guy among a few others probably inspired a generation worth of people to try programming. Also: vanilla i3, so based

    @quantumastrologer5599@quantumastrologer5599 Жыл бұрын
    • Definitely inspired me to learn vim 2 years ago :D

      @RictorScale@RictorScale Жыл бұрын
    • vanilla i3 is unusable, gotta change those motions to vim keys

      @DMSBrian24@DMSBrian24 Жыл бұрын
  • Loving the system 76 lappy running PopOS!

    @nad9969@nad9969 Жыл бұрын
  • Looks like a great course!

    @Anonim27121996@Anonim27121996 Жыл бұрын
  • this man... give this man a cookie!

    @RootsterAnon@RootsterAnon Жыл бұрын
  • My boy Prime! Love it!

    @jrhager84@jrhager8411 ай бұрын
  • noway! this will be incredible

    @isaacqadri@isaacqadri Жыл бұрын
  • I scanned ahead to see if they made him use VS Code for this 😂

    @craigdanielmaceacher@craigdanielmaceacher Жыл бұрын
  • Yeah imma need this

    @jonathansequeira5025@jonathansequeira5025 Жыл бұрын
  • I just finished the course, pretty nice and short. Although I had a similar course in collage, we didn't delve into few things like heaps and hash maps.

    @Abu_Shawarib@Abu_Shawarib6 ай бұрын
  • This is what professional voice-over sounds like.

    @greendsnow@greendsnow6 ай бұрын
  • Right on "queue" KZhead algorithm... 😅 I have been watching a lot of his videos as I'm learning to program in hopes that I'll slowly start understanding wth he's talking about and now I can learn it directly from him..

    @Frawks@Frawks4 ай бұрын
  • Frontend Masters are the only ones who could control his chi

    @MakeItStik@MakeItStik4 ай бұрын
  • the fact he's so happy and calm is truly scary to me

    @motsyrhc7436@motsyrhc74365 ай бұрын
  • Prime would be the coolest teacher ever

    @tayebeckford5014@tayebeckford5014 Жыл бұрын
  • Prime should do all his videos like this.

    @Thundechile@Thundechile4 ай бұрын
  • Alright. You sold me. I'll buy this course... for free. Thanks!

    @duanebuell7055@duanebuell70556 ай бұрын
  • If Will Sentance did an algorithms course, it would be 🔥. Prime's bubble sort lecture probably could have been smoother. But, I'm sure it'll pick up after that.

    @alamba78@alamba78 Жыл бұрын
    • Isn't it a mistake? He's checking j vs j not j vs i. Lol

      @zwillx3953@zwillx39536 ай бұрын
    • ⁠​⁠@@zwillx3953while his method of explaining is a bit confusing, it actually works because here he is using i to keep track of the sorted element and j and j+1 are doing the comparison and swap. So, when i = 0, you go into the inner loop of j and compare that first element with every subsequent element and keep bubbling the higher value to the end. Then i increments by 1 which takes the sorted element at the end of the array out of the comparison and swap being done in the inner j loop since that is already sorted from the previous iteration and again you go into the inner j loop and do the comparison and swap all the way through bubbling the higher value to the end. This continues till you satisfy the condition of the outer i loop. Hope it makes sense. Best thing is to write it down with a sample unsorted array of numbers and manually walk through the algorithm and writing the new array at each step. You will understand it better that way.

      @alamba78@alamba786 ай бұрын
    • @@zwillx3953can I please have your logins to the course…it’s quite expensive from my part of the world.

      @nick_yt3962@nick_yt39626 ай бұрын
    • ​@zwillx3953 it's right. You probably mean selection sort

      @phantombeing3015@phantombeing30156 ай бұрын
  • Kept waiting for.. “Gotem”!

    @JT-mr3db@JT-mr3db6 ай бұрын
  • Not even one mention of Juh-SON and JSML? Still love the informative and entertaining video from the Prime himself!

    @jugzster@jugzster Жыл бұрын
    • JDSL FTW!!!11! (NOT!) 🙂

      @RogerBarraud@RogerBarraud11 ай бұрын
  • buttery, coconut oily smooth intro

    @lucasteo5015@lucasteo5015 Жыл бұрын
  • It would be great if portions of each video were available even if it was 1-3 minutes of each. The reason I say this is because I usually use that as my "floober doober" test to see whether the video will be cohesive, I'll be able to follow it, or if it will be floober doober material. I expect Prima to have pristine content, but I also don't know if I'd be able to digest that content. Most sites offer a free trial but really what I'm looking to do is see how much of Frontend Masters would stick if I subscribed.

    @spaphy@spaphy6 ай бұрын
    • This course is free bro

      @thefaisman8956@thefaisman89564 ай бұрын
  • So relatable

    @Brlitzkreig@Brlitzkreig4 ай бұрын
  • Cache locality enters the chat: now, forget everything you've just learned!

    @vitalyl1327@vitalyl1327 Жыл бұрын
    • Cold hard cache rules the world.

      @tourdesource@tourdesource Жыл бұрын
  • I can't take him seriously without him flipping the hell out within 2-3 minutes of a video.

    @youtindia@youtindia Жыл бұрын
  • As far as unique values in Javascript, isn't that what Symbols are for?

    @kevinb1594@kevinb1594 Жыл бұрын
    • I think you could use a Symbol to store your own object ID. Good idea! One minor problem is that this consumes memory. ☹

      @strager_@strager_ Жыл бұрын
  • But are any of those algorithms blazingly fast?

    @user-in3jd6cm2t@user-in3jd6cm2t Жыл бұрын
  • Saying that Big Oh is a way to categorize programs is probably quite useful for programmers. Might be worth noting that it’s a quite simple mathematical concept defined in terms of a limit. It’s very useful for describing asymptotic behavior of functions generally, not just in programming.

    @HyperFocusMarshmallow@HyperFocusMarshmallow4 ай бұрын
  • You can actually use javascript maps to lookup something unique by the object reference. Just set the key to the object in question, and the unique value to the value

    @snivels@snivels Жыл бұрын
    • Do you even work at NETFLIX? Yeah, didn't think so.

      @tourdesource@tourdesource Жыл бұрын
    • @@tourdesource what has that got to do with anything?

      @snivels@snivels Жыл бұрын
    • ​@@snivels It's a joke related to the instructor, not really worth explaining. No disrespect meant.

      @tourdesource@tourdesource Жыл бұрын
    • ​@@snivels You're absolutely right about map accepting objects as unique keys, btw.

      @tourdesource@tourdesource Жыл бұрын
    • @@tourdesource haha sorry, hard to read humour these days on the net. I see what you meant now, I'm reading what you said in Primeagen's voice 😂

      @snivels@snivels Жыл бұрын
  • What about dynamic programming? Shouldn't that be in an algorithms course?

    @charlescoult@charlescoult6 ай бұрын
  • Always wanted to study data structures from Dr.Disrespect

    @boredomsoup@boredomsoup Жыл бұрын
  • He gives me the same feeling i get when I see my gta online character in a cutscene

    @w00td00t@w00td00t5 ай бұрын
  • OMG this is AWESOME. Thank you! BTW folks, at least of of today 3/27 this course is FREE?!

    @gracepal1@gracepal1 Жыл бұрын
    • Yes it is!

      @FrontendMasters@FrontendMasters Жыл бұрын
  • I love that he is cursed with his coding speed. "You just have to write it * Proceeds to do his vim magic * Talking to a class of students; "Alright hopefully you've written that down" No.. Not everyone is a vim ninja xD

    @GOTHICforLIFE1@GOTHICforLIFE16 ай бұрын
  • Just started programming. The amount of content I had to research to understand this lecture took me over an hour of reading and another hour of messing around in the editor to feel comfortable. Still don't get why .hasOwnProperty does not satisfy the consistent hash argument, but the lessons I've learned from rewatching this a couple times have me asking a lot of questions about everything I write now.

    @aBradApple@aBradApple2 ай бұрын
  • wot. is this for real? great break down of big o and very smart to introduce that concept early.

    @mikelk124@mikelk1246 ай бұрын
    • whoa, actually registered and this is sick. I love how you made fun of javascript in the beginning of the video because I am a new learner and java paladin.

      @mikelk124@mikelk1246 ай бұрын
    • As a level 1 java paladin these videos do not disappoint. All the subtle jabs at javascript muwahaha. I never thought Id be marathoning videos on datastructures FOR FUN but here I am. Thank you

      @mikelk124@mikelk1246 ай бұрын
  • Watching his videos for so long where he's joking and yelling so much, and then hearing him dead serious, is the best way to show what cognitive dissonance feels like

    @nikkehtine@nikkehtine6 ай бұрын
  • This is AI, this man cannot spend 3 minutes without screaming.

    @erickmoya1401@erickmoya1401 Жыл бұрын
  • I got through 1/3 of this course in a day and then had a fried brain. 10/10

    @BusinessWolf1@BusinessWolf16 ай бұрын
  • This is real course right? I am confuse. He is very calm. The backgound music too.

    @cmdaltctr@cmdaltctr Жыл бұрын
    • Yes, it's a preview of his algorithm course on frontendmasters

      @mycommentmyopinion@mycommentmyopinion2 ай бұрын
  • Do we get a certificate?

    @SpaceTimeBeing_@SpaceTimeBeing_ Жыл бұрын
  • It is weird why he is so calm 😂

    @techlifejournal@techlifejournal Жыл бұрын
  • That intro scared me. Like frontend masters holding his family hostage 😅

    @ishaansharma654@ishaansharma6544 ай бұрын
  • What is bubble sort?

    @lanichilds2825@lanichilds28256 ай бұрын
  • If only my professors were like this. Loved the jokes

    @fuzzy-02@fuzzy-026 ай бұрын
  • About the second example of O(n) with the two loops, aren't those optimised by the compiler and essentially run together, so from an execution pov that is O(n) anyway?

    @SerbanTV@SerbanTV6 ай бұрын
    • how are they optimized and run together? what if the input of one loop relies on the result of another loop?

      @mortvald@mortvald5 ай бұрын
    • No because time complexity isn't about concrete implementation. You purely look at it in terms of pseudocode, and count the "steps". He's actually making it more confusing by using real code, so you asked a fair question. It's also worth noting that big O refers to the maximum growth. Eg "grows no faster than, or worst case". Theres also big omega: "grows no slower than, or best case" and big theta The whole thing is kinda explained poorly. It's really not much different to describing the growth rate of math functions. The O part just means "upper bound of"

      @Jake-mp7ex@Jake-mp7ex5 ай бұрын
  • Does anyone know the software he uses for his xppen?

    @lvrsvid@lvrsvid3 ай бұрын
  • Whats the keyboard he’s using?

    @RafaSchmidt@RafaSchmidt6 ай бұрын
  • I love that he is wearing the hood of the hoodie lmao

    @thndesmondsaid@thndesmondsaid6 ай бұрын
  • For the bubble swap, can't you just do... arr = arr.sort((a, b) => a - b);

    @TheJukerson@TheJukerson6 ай бұрын
    • You can, but he explains how the sort function is written.

      @gryg666@gryg6666 ай бұрын
  • 4:18 O(2N) and O(N) is the same, so it's wrong to say "It's not O(2N), it's not that at all".

    @tufflax@tufflax4 ай бұрын
  • So he didnt diss VS code? Man this feels like he trolled us

    @arpandutta3591@arpandutta3591 Жыл бұрын
  • this is the last algorithms course I will need; I will need a lot more. These are only the pure basics of algorithms.

    @budgetarms@budgetarms6 ай бұрын
    • The full course is on our website for free here frontendmasters.com/trial/

      @FrontendMasters@FrontendMasters6 ай бұрын
  • This feels ironic and i love it

    @nahfamimgood@nahfamimgood Жыл бұрын
  • Where can you find the slides used in this course?

    @mindthomas@mindthomas6 ай бұрын
    • Everything is available on our website. This course is 100% free forever, only email is required: frontendmasters.com/courses/algorithms/

      @FrontendMasters@FrontendMasters6 ай бұрын
  • To be honest, I was expecting this video as prank .. still watching and expecting that, somewhere in the middle of the video something will happen :D

    @mithatkonuk6542@mithatkonuk65424 ай бұрын
  • Algo's are cool and all, but what keeb?

    @ih8tusernam3s@ih8tusernam3s5 ай бұрын
  • all i know is a for loop inside a for loop is very computationally expensive

    @hoochill@hoochill Жыл бұрын
  • My god, somebody please give Prime his Tankist helmet already!!!

    @NGC1433@NGC14332 ай бұрын
  • Holy cow his is great everything in everyway

    @lukmauu@lukmauu11 ай бұрын
  • Where the full course

    @workingguy3166@workingguy31664 ай бұрын
  • What language did you use in this course?

    @makonduchiyesu7021@makonduchiyesu70219 ай бұрын
    • JavaScript/TypeScript

      @FrontendMasters@FrontendMasters9 ай бұрын
  • What laptop is he using?

    @TheCarlosAlfaro@TheCarlosAlfaro Жыл бұрын
    • System 76

      @suyogmule3630@suyogmule3630 Жыл бұрын
  • He works at Netflix btw

    @csanadtemesvari9251@csanadtemesvari92516 ай бұрын
  • Uhh, this is not the “last you’ll ever need” it’s more like a basic introduction where several followup lessons would be needed to actually be good at algorithms. Given prime’s seniority level, the name of the channel and the name of the course, I actually expected this to be an advanced course. They should rename this video to “introduction to data structures and algorithms” and I wouldn’t have a word of criticism.

    @dave6012@dave60124 ай бұрын
    • I would barely even call this an introduction, this is more like a small bite size sample of an introduction to basic algorithms and data structures. I'm sure the title generated a lot of clicks tho lol.

      @xdmeister@xdmeister4 ай бұрын
  • Wait, Rustagean has legs?

    @iCrimzon@iCrimzon7 ай бұрын
  • Prime is the GOAT

    @irhasdev@irhasdev Жыл бұрын
  • Bro literally used personality no 5

    @sabinbaral4132@sabinbaral4132 Жыл бұрын
  • Is the course really for free?? Seems too good to be true!

    @yogxoth1959@yogxoth1959 Жыл бұрын
    • Yep! The full course is here, and it is completely free forever! frontendmasters.com/courses/algorithms/? Only email is required.

      @FrontendMasters@FrontendMasters Жыл бұрын
    • @@FrontendMasters I signed up. Thanks a lot for this!

      @yogxoth1959@yogxoth1959 Жыл бұрын
    • @@FrontendMasters Got this course a long while back, enjoyed it a lot. Thank you and Prime for putting out such a great course!

      @vanilla4064@vanilla4064 Жыл бұрын
  • toookioooooooooooooo!

    @Xania-js@Xania-js Жыл бұрын
  • Oh of N leggo

    @prescientdove@prescientdove11 ай бұрын
  • Cover Knuth's Dancing links and I'll sign up

    @mileniliev5247@mileniliev52474 ай бұрын
  • where's the coconut oil?

    @kabukitheater9046@kabukitheater9046 Жыл бұрын
  • well well well

    @recursion.@recursion. Жыл бұрын
  • damn this is really the primeagen?

    @ravananasuran@ravananasuran Жыл бұрын
  • omg its him....

    @Zetornator@Zetornator6 ай бұрын
  • Good ol' Mikey Bubbles.

    @ThomasGiles@ThomasGiles Жыл бұрын
    • True story, I tried to post this joke a minute ago and it was so bad my laptop crashed.

      @ThomasGiles@ThomasGiles Жыл бұрын
  • I think the maps thing broke my brain.

    @ThomasGiles@ThomasGiles Жыл бұрын
    • It's hash map. Which generates key with a predefined function

      @suyogmule3630@suyogmule3630 Жыл бұрын
  • My bro you don't need the hoodie here

    @Jorgetime@Jorgetime3 ай бұрын
  • Don't JS object actually have a unique id? I mean, they don't have it explicitely defined but it's the reason why you can't compare the same objects. E.g. let a = { name: "" } let b = { name: "" } let c = a a == b is false but a == c is true because it looks at their references in memory.

    @CadisDiEtrama000@CadisDiEtrama000 Жыл бұрын
    • objects are created as instances of a class or constructor function, each object is assigned a *reference* to a memory location where its properties and methods are stored // in JS this is a pointer that stores the memory address (with abstraction)

      @sarahjeannexd@sarahjeannexd Жыл бұрын
  • Mannn, $39 a month is insane

    @miscany@miscany7 ай бұрын
    • FYI This course is completely free! frontendmasters.com/trial/

      @FrontendMasters@FrontendMasters7 ай бұрын
KZhead