Recursion (Solved Problem 5)

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

КОМЕНТАРІ • 73

  • @MorrowSind
    @MorrowSind 5 років тому +29

    I love this guy.

  • @dannyboy3413
    @dannyboy3413 3 роки тому +20

    This is a masterpiece of a channel. Will be high up there in the legendary educational channels hall of fame. ❤️

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

    this is the best channel for c
    i faced a problem for the solution i took help of google ,different youtube channels,friends but i did not get proper solution but after seeing this all gets vanished.
    thank you sooo much for such content.

  • @nagateja9554
    @nagateja9554 4 роки тому +16

    Sir u made me : Impossible to I'm possible🎊🎉💐

  • @prajwalparve1834
    @prajwalparve1834 5 років тому +9

    Actually this comment is for to encourage you for doing this type of video again thank you very much for giving your time to make this type of videos

  • @vidya12235
    @vidya12235 Рік тому +3

    Thank u soo much sir...I had face many problems in recursive problems ..but now all the things about Recursion is clear..and that happens only for those 10 videos....Thank u again sir..❤

  • @luongManh361
    @luongManh361 3 роки тому +6

    This problem is a bit tricky, I was wrong when chose c), I skipped some steps where count(2) and count(3) are reactivated. I like your lectures, it's very easy to understand, It helped me learned and applied Recursion which I thought quite vague before. Thanks!

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

    after watching this video i just learnt a new thing for today

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

    Every time I think I understand recursion, it goes one step deeper!

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

    Really supper approach to understanding the logic.

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

    Thank you thank you so much. I watched your whole series for recursion and I feel so confident for recursion in GATE exam. All these practice questions and concepts have built my base for recursion! Thank you

  • @Akct123
    @Akct123 29 днів тому

    trying for more than 4 days on same concept , but i didn't understand even from your videos but consistency really paid off. Not only from your videos but combination of your explanation + GOG recursion exercise (easy) help me to grasp concept of recursion, now i seen little bit improvements in my recursion concept. Thank you! also your voice is too melody.💖💖

  • @top_10_2.O
    @top_10_2.O Рік тому +1

    thank you sir , my many concepts got clear

  • @vijaya7170
    @vijaya7170 5 років тому +6

    Super, have no words to explain

  • @indhujag5920
    @indhujag5920 3 роки тому +2

    Thank you very much for your crystal clear explanation.

  • @cricketlife-hn7oe
    @cricketlife-hn7oe 11 місяців тому +1

    You are genius

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

    Tried myself but choosed the third option . I didnt remember the control transfer part. But thanks for this content

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

    Hello Neso Academy!
    I would like to ask you to post a video with the Tower of Hanoi C program.
    I've been see some videos in UA-cam but none of them has a complete explanation of the program and how it works.
    So, if it is possible to you, please post a video with the program and the explanation how the recursion applies on the program.
    Thank you.

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

    Thanku sir from the bottom of the heart. Respect 🙏🙏

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

    Solved this on my first try. Thank you so much for this video.

  • @sabahoudini
    @sabahoudini 4 роки тому +24

    BTW You need to work as a teacher at Harvard or something, you were born to be a teacher.

  • @VishalKumar-uu3xm
    @VishalKumar-uu3xm 2 роки тому

    wow sir understood this concept with some little more clarity

  • @millenmarbun24
    @millenmarbun24 5 років тому +3

    thank you is it possible for you to do a video on pointers and structures I'm still struggling with these concepts

  • @abubacarrstcham2726
    @abubacarrstcham2726 5 років тому +4

    why do u increase a static variable? how is static different from constant?

  • @AyushKumar_-jd1kd
    @AyushKumar_-jd1kd 3 роки тому +1

    Got it right in the first attempt☺

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

    Please suggest any book for such questions 🥺🥺🥺🙏

  • @kostavsheoran1530
    @kostavsheoran1530 5 років тому +4

    the trick here was static variable, otherwise its a normal question!

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

    finally i did it

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

    Great work sir👍

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

    Thanks for making such some nice tutorials

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

    who else thought option c is answer at first....great question!!!

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

    Please come teach at the University of the Philippines Diliman, we seriously need professors as effective as you

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

    Thank you sir 🧡

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

    I got it right from my first attempt.

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

    hey @everyone,is that the modifier static which cause increment in value 'd' after d++,when again been called count(2)?pardon my english.

  • @shashiprakash-a2539
    @shashiprakash-a2539 3 роки тому

    Great sir

  • @arvindersingh9863
    @arvindersingh9863 5 років тому +3

    Becoz of non tail recursive fxn

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

    thanks sir'

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

    TQ sir good useful video

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

    How d got incremented as it is static..?

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

    If it wouldnt have been static then d would have been initialized again??

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

      yes ,u right even i did this mistake ....one suggestion do watch all vedios of neso academy !!!if u r gate aspirant or preparing for placements ..it will help immensely ..and dont skip any part or any portion try watchin entire playlist ..
      if static is not there then the d will be initialed again answer would be option d....d++ would not make any impact cause that is under scope of printf("%d",d);

    • @SonuGupta-wj6dg
      @SonuGupta-wj6dg 4 роки тому

      @@raviprakashmishra2860 which year are you in?

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

      ofc

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

    Thaku sir

  • @DurgaPrasad-ru7ow
    @DurgaPrasad-ru7ow 4 роки тому +1

    sir but when void dosent return any value, and no return statement mention there , why should we return back and print 4 extra 2 times???

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

      coz when function is executed we return back either with value if mentioned to return or without any value

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

    Awesome

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

    why are u returning to count(2) u should rather come out of the funciton right? and even there is no return statement then why do u go there?

    • @danieltornero5523
      @danieltornero5523 5 років тому +4

      The program returns to count(2) because it has to empty the stack and since there is a print statement after that it gets executed and then returns to count(3) executes the print function then returns to the main function and finally terminates the program.

  • @Sy-kh1pe
    @Sy-kh1pe 5 років тому

    please complete the network theory

  • @محمدعطية-ث4ت
    @محمدعطية-ث4ت 5 років тому

    Can it be with translation ?

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

    who else like me ignored "d" as static 🤣🤣

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

    This guys english is fairly good until he says the word "static" and suddently turns into Apu from the Simpsons :D

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

    I think this one is incorrect . the answer will be B

    • @Akct123
      @Akct123 29 днів тому

      no it because static keyword hold the value so even you recall function and set d =1 that is not possible once d's value increased then it work likely a constant. I can't be decreased but can be increased

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

    Answer is b)

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺

  • @abhaypratap9898
    @abhaypratap9898 3 роки тому +2

    Please suggest any book for such questions 🥺🥺🥺

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

    Please suggest any book for such questions 🥺🥺🥺