Это видео недоступно.
Сожалеем об этом.

You WILL Understand Recursion After Watching This

Поделиться
HTML-код
  • Опубликовано: 13 янв 2023
  • ⭐ Join my Patreon: / b001io
    💬 Discord: / discord
    🐦 Follow me on Twitter: / b001io
    🔗 More links: linktr.ee/b001io
    Background Music:
    Slowly by Tokyo Music Walker | / user-356546060
    Music promoted by www.free-stock...
    Creative Commons Attribution 3.0 Unported License
    creativecommon...

Комментарии • 64

  • @SetUpOr1g1n
    @SetUpOr1g1n Год назад +93

    Literally the best explainer.

  • @Onrirtopia
    @Onrirtopia Год назад +37

    fun fact: the command "pip" is a recursive acronym that mentions itself, eg. it means: "pip installs packages"

    • @ilmansalt
      @ilmansalt 8 месяцев назад +2

      Lmao, same with Wine with the acronym "Wine is not an emulator". Developers love doing this for some reason 😂

    • @oathbreaker3503
      @oathbreaker3503 6 месяцев назад

      same with GNU

    • @pajeet_slayer
      @pajeet_slayer Месяц назад

      ​@n0tjak*programmers hate php

  • @Mr.Fantomblox
    @Mr.Fantomblox Год назад +9

    Bro I started an algorithm course 2 weeks ago and I stopped because I couldnt understand recursion even after watching several videos on youtube, Now i actually understand how it works thanks.

  • @milo932
    @milo932 Месяц назад +1

    Ive been stuck on this concept for like a week. Thank you for the visual representation in the code that helped SO MUCH. Earned a subscriber thanks again!

  • @odin9054
    @odin9054 Год назад +7

    finally, an explanation on recursion i can understand!

  • @montagetm
    @montagetm Год назад +16

    Awesome way of solving factorials! Never thought of doing that, great explanation of recursion!

    • @djimi9803
      @djimi9803 Год назад +1

      Try to solve Fibonacci using recursion

    • @montagetm
      @montagetm Год назад

      @@djimi9803 I'll give it a shot

    • @montagetm
      @montagetm Год назад +1

      @@djimi9803 Ive made two version, one of them require you to input the two starting numbers of the sequence and how many numbers of the sequence you want to print. The other version only requires a number of how many numbers in the sequence you want to print, however its ever so slightly more code.

    • @FlashAm
      @FlashAm Год назад

      import math
      math.factorial(3)
      this method is much quicker and doesn't use recursion. The function shown in the video was just an example to show how recursion works

    • @montagetm
      @montagetm Год назад

      @@FlashAm yh I know that, I just think it's pretty cool

  • @zodeit4678
    @zodeit4678 Месяц назад

    This is very helpful just what I've looking for, easy to understand about recursion. Thanks!

  • @puppergump4117
    @puppergump4117 Год назад +5

    I think recursion is better explained using problems that can't be solved through a simple loop. Such as printing out all permutations of a given sequence with an unknown number of elements.

  • @Sampsadellic
    @Sampsadellic 7 дней назад

    Great explanation! love how you break down each step of the recursive calls.

  • @UDroidMania
    @UDroidMania 6 месяцев назад

    Finally! Someone who explained recursion in a way that I can understand it. Well done and thank you!

  • @aryabalagita6543
    @aryabalagita6543 2 месяца назад +1

    You are the best teacher who explain this function 🗿

  • @maximillianquaife-larsen3799
    @maximillianquaife-larsen3799 5 месяцев назад

    That was incredible. I’ve been trying to understand recursion for a while

  • @viktoreidrien7110
    @viktoreidrien7110 Год назад +2

    so far the best explanation i've seen

  • @Alvarez-ls6bt
    @Alvarez-ls6bt Месяц назад

    Awesome video!! Helped me fully grasp how recursion works.

  • @mind_of_a_darkhorse
    @mind_of_a_darkhorse Год назад +2

    Excellent video of recursion and how to use it!

  • @commandermanto2202
    @commandermanto2202 Год назад +1

    Wow, that was an amazing explanation! You covered all the bases and questions I had, thank you!

  • @rice3742
    @rice3742 4 месяца назад

    Thank you..Finally understood the logic behind this

  • @tj9382
    @tj9382 Год назад

    Yeah I simply must echo the praise of the previous comments. Brilliant explanation.

  • @poweroffun2831
    @poweroffun2831 Год назад

    That is one of the best explanations I've ever had. Thank you!

  • @jacklee26
    @jacklee26 Год назад

    One of the best explanations ever , really clear understand

  • @gopalakrishnagk7979
    @gopalakrishnagk7979 Год назад +1

    If this guy would be my computer teacher I would go on a cuber war with north Korea fr!!

  • @yoyo231
    @yoyo231 Год назад

    Best explanation of a coding tutorial ive seen

  • @akashverma5756
    @akashverma5756 6 месяцев назад

    Imagine recursive function as alien species which have specific role to perform and they multiple everytime they are called.

  • @0e0
    @0e0 9 месяцев назад

    you have an amazing communication style for this stuffs.

  • @nehmiatewachew4693
    @nehmiatewachew4693 Год назад +1

    Thank you bro you have no idea how you helped me

  • @DarkAcademyUniversity
    @DarkAcademyUniversity 2 месяца назад

    best explanation

  • @annon010
    @annon010 8 месяцев назад

    im a bit late but
    remember to make sure n is an integer because otherwise n will never equal 1

  • @jamesb7948
    @jamesb7948 11 месяцев назад

    Great video, thanks for the explanation :)

  • @Bhagya_Raju
    @Bhagya_Raju 11 месяцев назад

    Love ❤ from india my brother

  • @Marcus07end
    @Marcus07end 4 дня назад

    That did help thank you very much

  • @montagetm
    @montagetm Год назад +1

    YAY!

  • @sevenmaduka4793
    @sevenmaduka4793 Год назад

    Wowww amazing explanation!!

  • @ShenZhen642
    @ShenZhen642 Год назад

    Thank you very much !

  • @mub03
    @mub03 Год назад

    Excellent

  • @bookzdotmedia
    @bookzdotmedia Год назад

    Top dog teaching!

  • @noodle7788
    @noodle7788 Год назад

    i love this guy

  • @kimmena5586
    @kimmena5586 Год назад

    Im just learning python for like a month and I cant understand a line of code last night maybe because life knows that youtube will give it to me this morning

  • @ErikS-
    @ErikS- Год назад

    Try to do a negative number with this implementation ;-)

  • @oosmanbeekawoo
    @oosmanbeekawoo Год назад +1

    You coulda trolled everyone with Google saying University of Utah says, “To be able to understand recursion you have to understand recursion!”
    ..what does that even mean? xD

  • @brandonsager223
    @brandonsager223 5 месяцев назад

    Only takes a few minutes to go from dumb person to smart person 🎉

  • @yan3735
    @yan3735 6 месяцев назад

    no way it's so damn simple

  • @axmy1776
    @axmy1776 Год назад

    Which colour theme are you using in vscode?

  • @bhanubhattarai13
    @bhanubhattarai13 Год назад

    What's the theme and font used here anyone? Please

  • @alhabib_o
    @alhabib_o 19 дней назад

    Goaaaat

  • @user-yf3nl8en2
    @user-yf3nl8en2 Год назад

    What theme is it?

  • @akatsuki2555
    @akatsuki2555 Год назад

    What font is that?

  • @ata780
    @ata780 Год назад

    Is a for loop considered recursion?

    • @Scymet
      @Scymet Год назад +1

      No, that's iteration

    • @ata780
      @ata780 Год назад +1

      @Scymet thanks. I did end up looking more into this. I'm aware of the differences now

  • @Decrupt
    @Decrupt Год назад

    based

  • @n00bxl71
    @n00bxl71 Год назад

    4th comment