Recursion Crash Course

Поділитися
Вставка
  • Опубліковано 22 тра 2018
  • Learn the basics of recursion. What is it? Why should you care? Why does it confuse so many people? Along the way we'll take a look at multiple examples of recursive solutions.
    If you're ready to launch your career as a software engineer, check out my job-guaranteed bootcamp with Springboard: springboard.com/workshops/sof...

КОМЕНТАРІ • 184

  • @itsaaron6423
    @itsaaron6423 4 роки тому +115

    Tom Holland teaching me Recursion.

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

      It's pretty clear his name is Colt Steele

    • @robertovida3228
      @robertovida3228 3 роки тому +7

      @@kokologix9834 man you didnt get it

    • @kokologix9834
      @kokologix9834 3 роки тому +4

      @@robertovida3228 Haha i know it was just a joke.

  • @sephyanrp
    @sephyanrp 6 років тому +51

    Dude, you really make programming concepts super easy to understand!

  • @thegabization
    @thegabization 3 роки тому +15

    This was the clearest explanation I have found, thank you so much.

  • @douglasDGmarques
    @douglasDGmarques 6 років тому +45

    Colt, you're the best!

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

    Just came from your FreeCodeCamp explanation and it was making sense, but this filled in the blanks. Best explanation I have seen so far.
    finally I get it. It has taken me several days to get this; but you did it; thank you. You've made it so clear.

  • @marissakundera
    @marissakundera 3 місяці тому

    This has been soooo helpful! I'm still a bit confused but this is a great start. Your explanation was incredible. Thank you so much. I know I'm late to the party but wanted to let you know that 5 years later your video is still saving lives. I was crying my eyes out because I could not understand it but now I have a better idea of what is going on, so again, thank you

  • @bigbertha8
    @bigbertha8 3 роки тому +3

    This is the first video I am watching on the topic and it’s still hard for me to grasp completely. You explained it very well though and I appreciate the words at the end. It’s encouraging and doesn’t make me feel like a complete moron for not completely getting it. Will be watching the rest of your videos.

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

    thank you so much. Every one act like an expert but they can't teach you annything , you hit the spot for 90% of those who want to learn.

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

    This was hands down the best recursion video I've seen so far. Thank you!

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

    I watched so many videos on recursion and you were the only one who explained what "return 1" does.

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

    I've been through several youtube videos on recursion and struggled to grasp it, until now!! You are a gifted teacher! Gonna be attending hack reactor soon in SF and I wish you were a teacher there!!

  • @adebanjoabiodundamilare4266
    @adebanjoabiodundamilare4266 Рік тому +1

    I never comment on videos watched! But bro with the way you explained this. You are the best!!!!

  • @Android-17
    @Android-17 2 роки тому

    *Best and most simplified explanation on Recursion. Period.*
    Classic Colt Steele session.

  • @tony-k
    @tony-k 3 роки тому

    In my opinion this is the best explanation of what recursion is and how it works. Thank you, Colt!

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

    Thank you so much, Colt, for this explanation! I had watched several videos on recursion before, but I didn't understand it until I watched yours.

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

    This is literally the best video on the internet about recursion! Thank you!

  • @michaelolawunmi464
    @michaelolawunmi464 2 роки тому +2

    This was great. I went from having headache to having a good grasp of this concept in mins. Thank you sm!

  • @Raskabais
    @Raskabais 6 років тому

    The best explanation of recursion that I have ever heard and examples as a demonstration.

  • @italoperezarribasplata6651
    @italoperezarribasplata6651 6 років тому +3

    You ROCK Sir!!!!! . I am currently taking your database crash course in Udemy and I am very pleased with the results. GREATLY APPRECIATED !!

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

    You’re an amazing teacher, Colt! Thanks for all the effort you put into it! :)

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

    I've watched a few vidoes on recursion - it finally clicked after this explanation.
    I wasn't making the connection that the base case needed to be reached so that the other function call values could finally be solved. Makes perfect sense

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

    The best explanation about recursion! This is what I wanted to know! You are the best!

  • @jessiccaangelov5517
    @jessiccaangelov5517 3 місяці тому

    I get it so much better now. Thank you Colt!!

  • @bmac-cz6rk
    @bmac-cz6rk 4 роки тому

    I am convinced Colt was sent by God to teach us all Web Development. No one will ever match his demeanor and the way he explains topics and makes them so visual and easy to understand.

  • @glassofchampagne
    @glassofchampagne 6 років тому +2

    This was great, the stories actually really help Colt! Keep posting! :D

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

    best and patient explanation of recursion thus far .

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

    Best teacher in the virtual world who can explain complex thing like a piece of cake so that even a dumb one can easily understand it

  • @speedegg6170
    @speedegg6170 6 років тому

    Much appreciated for this video. I struggled with a function "calling itself" and how the logic worked. Now I understand. Thanks.

  • @number1neek
    @number1neek 3 роки тому +3

    Awesome explanation, cheers for that!
    You’ve helped me understand that not only is it important to have a base case and some logic that changes the input every time, it’s also crucial that this logic eventually leads to the base case. Sounds obvious but this has been a real stumbling block for me

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

    you explain things so well! i am completely new to recursion and i love the way you teach this topic with visual analogies that keep my interest. it really helped me to better understand this recursion concept in a way my mind can easily absorb. thank you! you are the best instructor I've found Udemy, not because you are simply knowledgeble on the subject you teach but because you intuitively place yourself in the shoes of your viewers and deliver with passion!, patience and understanding.👍 Schools need more teachers like you, teachers with the ability to use both sides of their brains 🙂

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

    Thank you for this 🙌🏾 I got asked this in a interview last year and couldn’t give a pure definition! 👍🏾

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

    Finally got the concept of recursion after watching this video, many thanks Colt!

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

    Thank you for this!
    At the beginning of this video, I learned about reCATsion:
    //RANDOMLY GET 0 (FALSE) OR 1 (TRUE)
    function randomizer(){
    return Math.floor(Math.random()*2);
    }
    //BEG FOR KITTY TREATS!
    (function begForTreats(hasTreats) {
    if(hasTreats){
    console.log("Omnomnom!");
    return;
    }
    console.log("Gimme treats, human!");
    begForTreats(randomizer());
    })(randomizer());
    Joking aside, I understand recursion enough to write this from scratch because of your video! Thanks so much!

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

    You did a great job of breaking this down. Thank you for the work you put in.

  • @istvanvas8628
    @istvanvas8628 6 років тому

    Thx for the video Colt and nice to see you again.

  • @Mustafa-pe5mp
    @Mustafa-pe5mp 4 роки тому

    this is the best explanation I found on the internet. thanks

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

    Best video on recursion so far. Thank you

  • @CameronPak
    @CameronPak 6 років тому

    Hey Colt, I have had difficulties fully understanding recursion until now. A coworker of mine pointed me to your channel. Thanks!

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

    I struggled a few days with this topic until i found this video. Very well explained. Thx!!

  • @nagarajanr2681
    @nagarajanr2681 6 років тому

    Colt, glad to see your channel on youtube..

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

    Love this video! Thank you! Also, @9:40 - i just learned today that the "different input" is called "the recursive step".

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

    simple ,elegant,awesome ,please make some more

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

    Best recursive basic course ever!

  • @jonathanjohnson2785
    @jonathanjohnson2785 3 місяці тому

    Thanks Colt. A big fan of your courses and teaching style. Stay strong bro❤

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

    great video! Im in coding boot camp right now and this video was a very well explained video!

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

    So helpful thank you so much Colt!

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

    So far this explains a lot sir very clear explanation that really helps me even I'm a slow learner. Love you man thanks!

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

    Thank you 🙏....very clear and very helpful.

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

    Thank you for this. That's a great video

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

    Great video!

  • @parate8628
    @parate8628 3 роки тому +3

    for a minute I was like "but.. 3 is odd" thinking they were nested arrays lol

  • @WAGGISHxHER
    @WAGGISHxHER 6 років тому

    Great video :) Can't wait to see more.

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

    This is so great! Thank you!

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

    Wonderful and super Simple Explanation :)

  • @nikolaykolev5143
    @nikolaykolev5143 6 років тому +1

    Great video! Amazing stuff! Keep it up here on UA-cam :)

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

    well Colt, this is surely interesting...this is exactly similar to recursive formulae in arithmetic series

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

    I took your Javascript course on Udemy! You're a great teacher!

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

    Such a clear explanation, thanks so much Colt! Swore I was stupid till I saw this video. Maybe I still am, but at least I understand recursion now!

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

    Super helpful Colt! The dragon example helped me a lot.
    EDIT: Happy to be this video's 29,000th viewer!

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

    Great video Colt!! I'm not a cat person but your buddy there is COOL!

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

    i am trying to recall some concepts that are quite dificult for me to understand. your explaination is the best so far, thank you!

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

    Thanks sooooo much for making me understand recursion

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

    Great way of teaching, keep it up!

  • @muzammilahmad5217
    @muzammilahmad5217 6 років тому

    my man
    I'm your Udemy Student
    learnt a lot from you
    best wishes with this channel

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

    You explained so easily. Love from Bangladesh ❤

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

    thank you so much man...I finally get it now

  • @TheHolycrack
    @TheHolycrack 6 років тому

    great video!

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

    Colt is best instructor

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

    Great explanation

  • @lem3328
    @lem3328 6 років тому

    I'm glad to see you on youtube, great video! Love your udemy course! I hope to see Rusty soon, or does your cat believe he's a dog?

  • @trta90_42
    @trta90_42 6 років тому +2

    Colt u are the best, as usual ;)

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

    really helpful!! thanks

  • @chickenzwings
    @chickenzwings 6 років тому +2

    A COLT STEELE UA-cam CHANNEL?!? My life needed more courses and cats :)
    EDIT: That reminds me!! You should do a crash course on time complexity! Not many good explanations up on here. At least not as good as you could do.

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

    you're make it look easy.

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

    THANK YOU! RECURSION HAD ME FRUSTRATED AF 😂 I couldn't understand it no matter how many times I looked over the problem I was working on. Same with the looping arrays inside of arrays problems, but Ima see if you have any vids on that in a bit after I finish this one just wanted to say thanks x) 🤓

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

    Thanks so much for using such a basic example. Most people go straight to Fibonacci numbers for some reason

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

    After how many hours I finally got it, Thanks!

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

    Thank you that helped a lot! I get the point of it

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

    Thank you!

  • @carlagoncalves531
    @carlagoncalves531 6 років тому

    Colt i see that you finally made peace with cats eheheheh love him sooo cute . Thanks for this channel xx

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

    Thanks, that was very helpful.

  • @adrian-4767
    @adrian-4767 5 років тому

    Colt another advantage of having a "huge course" instead of mini courses is that the first one will always have way more students enrolled in one course than each mini course would have, so even if you Colt can't answer to Q&A then since the "pool of students" is bigger in a huge course we have more chances that another fellow student reply us (which I do if I know something and see another student question unanswered)

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

    I am here for the cat , the draw behind teacher is beautiful!

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

    thank you

  • @himbary
    @himbary 6 років тому

    Colt + UA-cam = perfection

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

    Thanks to you, I now get it!! 😁

  • @nucjellfish
    @nucjellfish 6 років тому

    Great to hear your voice again! LOL

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

    Colt during web-developer bootcamp:
    "Cats are far not as good as dogs"
    Colt now:
    "MEOW"

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

    Colt, you are an awesome instructor.
    Could you please make videos on dynamic programming?

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

    recursive is using small copy of the problem to solve the bigger problem , so when martin decided to ask the dragon for the first odd number instead of asking for all odd numbers in the collection he made use of recursion using small copy of the problem to solve the bigger probelm

  • @yogirajzala5729
    @yogirajzala5729 6 років тому

    Thanks bro !

  • @aminukano_
    @aminukano_ 6 років тому

    Awesome!

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

    thank you :)

  • @tomask4584
    @tomask4584 6 років тому +9

    +Colt Steele when is the new course coming up?

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

    will you please live in my brain for some time, I can offer for you rent-free!!!! ps. tysm, you're such a gifted teacher!

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

    man i love you teaching ways
    can you suggest if we should try your adv web d bootcamp after former web d bootcamp
    with reasons

  • @domt5782
    @domt5782 6 років тому +29

    I'm so happy that you started a UA-cam channel. Can you please start building real projects that we can put on our portfolio? Thank you

    • @ColtSteeleCode
      @ColtSteeleCode  5 років тому +17

      Hi Dom, good news! I've already started work on my next course which will focus solely on building a single professional looking project using html, sass, js, webpack, and web-components. I've built the project already, so things are moving along. The course will be out 3ish weeks after my react course, which I'm about to release. If the course does well, my plan is to launch a series of these real-world project courses where we build something larger from scratch while exploring a new technology or two. There are so many possibilities! My hope is that there are more students like you who would be interested in project-oriented courses.

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

      Are you teaching the course alone, or is it being taught by you and others, like your advanced web dev bootcamp was?

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

      @@corneliusmooseknuckle2829 It's just me!

    • @Shubham-b
      @Shubham-b 4 роки тому +1

      @@ColtSteeleCode Hi Colt, it's been 2 months since your react course..can you please launch such project related courses soon.
      Thanks

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

      @@ColtSteeleCode what was this? The JavaScript course?

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

    Hello colt, thanks to your course, the web developer bootcamp i finally got a job as a junior software developer, i was wondering is there a chance you could maybe make a crash course on angular 6?

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

    nice explanation. Could you show more examples and how it could be calculated with loops just to see the differences?

  • @Bruno-yi4nb
    @Bruno-yi4nb 2 роки тому

    Thx! :)