recursion finding factorial of a number

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

КОМЕНТАРІ • 132

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

    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 8 місяців тому

      Yeah

    • @gabrielgomesmabiala6707
      @gabrielgomesmabiala6707 5 місяців тому

      You are tottaly right I agree with you

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

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

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

    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

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

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

  • @akashsahu54
    @akashsahu54 5 місяців тому +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 Рік тому +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

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

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

  • @KunalKale-l2i
    @KunalKale-l2i Місяць тому

    Nice I searched many videos on youtube but no one was capable to full fill my heart its the ultimate video

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

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

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

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

  • @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.

  • @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.

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

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

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

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

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

    Thank you for this explanation! Finally someone I understand 🎉

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

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

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

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

  • @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 7 місяців тому

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

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

    Genius, I just needed this. God bless you

  • @Stark-w9v
    @Stark-w9v 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.

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

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

  • @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

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

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

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

    superb, Very clear and precise.

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

    this is really an easy explanation.

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

    Thnk you sir ji for very nicly explained

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

    This 7 minutes video is better than 1 million tutorial

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

    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

  • @football3415
    @football3415 8 днів тому

    indians always the best thank you sir

  • @prushottamkumar2252
    @prushottamkumar2252 Місяць тому

    for this 7 min i was looking from last 24 hours
    thanks

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

    Nice way of teaching 👍👍👍👏

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

    Thank you sir for such an esay explanation

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

    Awsome xplanation sir😍 upload more videos

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

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

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

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

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

    Very Good explanation sir.
    Hats off!

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

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

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

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

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

    NIce explanation. Thank you>

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

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

  • @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

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

    Awesome 👍👍👍

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

    omg finally.been weeks of searching for answer

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

    thanks for best example

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

    Very Well Explained Sir

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

    Very good explanation 👍👌

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

    the best explanation, thank you!

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

    Thanks to you, now I understand.

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

    Excellent Explanation sir

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

    Adorable...
    Biutifullll

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

    Thanks a lot excellent explanation 👍

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

    Great work sir

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

    Thank you for the explanation 🙏

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

    Very nice explanation.

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

    Great WORK

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

    very good explanation

  • @deeveshkumar4117
    @deeveshkumar4117 2 роки тому +1

    thanks sir ....

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

    thank you so much sir!! explained so well.

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

    Best video

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

    thankyou so much. God bless you

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

    Clearly explained sir

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

    Thanks a lot sir.🙏🙏 obliged.

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

    nicely explained😍

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

    Really nice explanation! Thank you!

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

    And your video so satisfying

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

    My goodness today again understand the this topic properly

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

    Cool ! nice Explanation

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

    Awesome sir, Thank you very much!

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

    best explanation.

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

    Absolute goat 🐐 I am like amazed

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

    Superb

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

    superb sir thank u so much

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

    You make it amazing

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

    Great Explanation. Thank you so much.

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

    well explanation

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

    perfect💥⚡⚡

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

    nice explanation

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

    Thank you very much Sir!

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

    A bunch of thanks sir

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

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

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

    Good

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

    Easy explanation

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

    Upload more vids man we need you !!

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

    Nice explanation

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

    Thank you Sir

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

    Thanks sir

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

    Thank you so much sir

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

    wow heartly thnx sir

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

    Thank you mister

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

    Thanku 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..

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

    Tq so much sir❤❤

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

    So many thanks!!!! 😄

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

    👍👍👍

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

    Thank you so much makes sense now!

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

    Thanks so much