recursion finding factorial of a number

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 129

  • @cellmaker1
    @cellmaker1 Рік тому +29

    Finally, someone has clearly explained how the return value is plugged back into the function "one higher." Thank you for making this clear because all the other recursion videos I've seen fail to explain "how" the layers get resolved. Bravo.

    • @shallommicah115
      @shallommicah115 Рік тому +2

      exactly...I was trying so hard to understand where each factorial got its returns from until he showed how everything ascends when a base case has been defined

    • @skandeshs6132
      @skandeshs6132 7 місяців тому

      Yeah

    • @gabrielgomesmabiala6707
      @gabrielgomesmabiala6707 4 місяці тому

      You are tottaly right I agree with you

  • @nagesh5374
    @nagesh5374 4 роки тому +29

    If your video quality was little better then this would have reached to the Millions of audiences!!!!
    Thanks for the easy explanation.
    Keep posting new videos

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

    I am really thankful for this simplest explanation of the dry run.Really appreciate it.
    Wish to see more videos like these.

  • @samsons8279
    @samsons8279 2 роки тому +8

    Oh !!
    Now I am clear....
    RECURSION is noT a process ; it's a CHAIN of processes.... 👌👍

  • @akashsahu54
    @akashsahu54 4 місяці тому +1

    from 7 :00 pm to 9:00pm today I finding this type satisfactory explanation of recursion I finally understood very nicely explained thank you sir

  • @Dan-iy9fw
    @Dan-iy9fw 10 місяців тому +1

    THANK YOU FOR THIS omg i am watching cs50 and he had an example with bricks that i couldnt understand and when googling it i only found some fibonacci stuff that i couldnt understand neither. Finally i found your video with a simple function AND ALSO explaining step by step the result of each time its used. THANK YOU SO MUCH FOR THIS!! super helpfull 5/5⭐

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

    i confused with where it returns the previous value. u clearly explained by drawing it and showed it happens in backend and not explicitly. tqsm

  • @Srk-f8r
    @Srk-f8r Місяць тому

    I saw many videos but was not able to understand but this video has very well explaination about factorial concept using recursion. Good job.

  • @Abhay.Bhandari
    @Abhay.Bhandari 3 роки тому +8

    Awesome sir!! You really made a toughest topic so easy. Thanks sir!! I really like the way you teach. Teaching is an Art and you are a great artist.

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

    I‘m really amazed by this explanation! This process always confused me but now it’s perfect!

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

    Thank you. You are the only one who clearly explained recursion. Keep it up

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

    *Watched 4 videos this is the best and only best*
    *that too 3 days before exam*
    *Nobody explained the calling function getting return value part*
    Thanks a lot

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

    Best and the easiest way of explaining recursion.

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

    Thank you, thank you, thank you. May God bless you. I have really benefitted a lot from this video.

  • @JamesRodriguez-ql9vp
    @JamesRodriguez-ql9vp 2 роки тому

    Thank you sir for the simplest of explanations of recursive function. Need more teachers like you in colleges.

  • @ruetahmad
    @ruetahmad 6 місяців тому

    best explanation which I needed to understand recursion clearly, thank you very much!

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

    Thank you for this explanation! Finally someone I understand 🎉

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

    best video i have seen on recursion ... i have been stuck on this for 2days

  • @arsadkasim8173
    @arsadkasim8173 8 місяців тому +1

    The best explanation I've ever seen thank you so much 🤗🤗

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

    thank you so much for explaination it help us to solve more recurssion based problems

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

    Man i love youtube, you explain much better than any other video i'v found.Thank you

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

    NIce explanation. Thank you>

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

    Thank you very much for this concise video. I have been searching for solutions to understand recursion and your video just helped me alot.

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

    Genius, I just needed this. God bless you

  • @26kito
    @26kito 2 роки тому

    This is really helpful for me to understand the logic behind it. I know the syntax but confused with how it process, now I know. Thanks

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

    this is really an easy explanation.

  • @sachinparmar-tp5bp
    @sachinparmar-tp5bp 10 місяців тому

    Thnk you sir ji for very nicly explained

  • @basithbalakrishnan
    @basithbalakrishnan 2 місяці тому

    superb, Very clear and precise.

  • @Ren-nk9pq
    @Ren-nk9pq 3 роки тому +2

    Wow awesome you cleared my doubt that I was having whole day🙄 thanks 🙏

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

    I was confused about one point now it is clear
    Thank you so much sir

  • @arsadkasim8173
    @arsadkasim8173 8 місяців тому +1

    This 7 minutes video is better than 1 million tutorial

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

    Very easily understand using ur method

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

    Wow I want this type of videos
    Osm really mind blowing
    I understand the concept in one go ❤️ tnq sir

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

    Thank you sir for such an esay explanation

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

    Simple and easy explanation. I hope my faculty would have taught me like this

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

    Seriously this video clears my doubts regarding Recursion, still, saurav shukla sir "Factorial recursion" video is not helpful.
    But your this video is amazing thank you sir

  • @boni_Raghuvanshi
    @boni_Raghuvanshi 10 місяців тому +1

    thanks for best example

  • @dr.einstein5981
    @dr.einstein5981 4 роки тому

    Nice way of teaching 👍👍👍👏

  • @DeepakKumar-dw1re
    @DeepakKumar-dw1re Рік тому

    Adorable...
    Biutifullll

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

    really thank you soo soo much sir.. what a explanation

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

    no one explained how it works. . . I saw every algo problems. . thanks ❤

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

    Very Well Explained Sir

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

    Awesome 👍👍👍

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

    Awsome xplanation sir😍 upload more videos

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

    You taught so well that whenever I am to revise I see ur explanation 😃

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

    Very Good explanation sir.
    Hats off!

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

    Very good explanation 👍👌

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

    Thanks to you, now I understand.

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

    Excellent Explanation sir

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

    Thank you for the explanation 🙏

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

    Very nice explanation.

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

    Greatly explained sir
    Why don't you execute this in ur PC ..! It will be better for all of us ..

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

    omg finally.been weeks of searching for answer

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

    Thanks a lot excellent explanation 👍

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

    Great work sir

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

    Good explanation

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

    very good explanation

  • @3thrisha869
    @3thrisha869 2 роки тому

    Clearly explained sir

  • @SalmanMaqbool-tu9id
    @SalmanMaqbool-tu9id 2 роки тому

    nicely explained😍

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

    thanks sir ....

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

    the best explanation, thank you!

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

    Best video

  • @user-wi7xc9mc4i
    @user-wi7xc9mc4i 6 місяців тому

    My goodness today again understand the this topic properly

  • @RishabSharma6969
    @RishabSharma6969 7 місяців тому

    Thanks a lot sir.🙏🙏 obliged.

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

    thankyou so much. God bless you

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

    thank you so much sir!! explained so well.

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

    Really nice explanation! Thank you!

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

    Awesome sir, Thank you very much!

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

    Cool ! nice Explanation

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

    Great Explanation. Thank you so much.

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

    Great WORK

  • @AnilKumar-jm3vv
    @AnilKumar-jm3vv 2 роки тому

    Superb

  • @md.azizulhaquejany838
    @md.azizulhaquejany838 3 роки тому

    best explanation.

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

    You make it amazing

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

    superb sir thank u so much

  • @karimovich_01
    @karimovich_01 9 місяців тому

    perfect💥⚡⚡

  • @itsmePeace-nf1ip
    @itsmePeace-nf1ip 3 роки тому

    And your video so satisfying

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

    well explanation

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

    nice explanation

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

    Upload more vids man we need you !!

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

    Absolute goat 🐐 I am like amazed

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

    Good

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

    Thank you very much Sir!

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

    Easy explanation

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

    Thank you Sir

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

    wow heartly thnx sir

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

    Thanks sir

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

    A bunch of thanks sir

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

    Thank you mister

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

    So many thanks!!!! 😄

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

    Thanku sir

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

    Thank you so much makes sense now!

  • @itsmePeace-nf1ip
    @itsmePeace-nf1ip 3 роки тому

    Thank you so much sir

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

    fact of 0 is 1 so when n = 0 it will give you error, so change if(n==0) instead of n==1

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

      Nopes, in order to get the recursive call for fact(0), we need to declare n==0, it will return 1...hence by mutiplying you will the required result by recursive calling. Hope it clears your doubt..

  • @PawanKumar-jk1yy
    @PawanKumar-jk1yy 3 роки тому

    This is 5 years back when even jio haven't come and this man trying to clear doubt digitally

  • @HarshithakHarshi-jo9ly
    @HarshithakHarshi-jo9ly 2 місяці тому

    Tq so much sir❤❤

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

    thank you sir

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

    What a CHAD!!

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

    Thanks so much

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

    What does return 1 means?