Decoding Recursion | Count Ways to Reach Nth Stair Problem! | Nishant Chahar | Leetcode | GFG

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • In this video, we are learning about Recursion and how it works with the help of two problems.
    1. Problem: practice.geeks...
    You can use my code NISHANT to get 10% Off on all GFG courses.
    ✨ Important Links ✨
    - Don't Click Here: bit.ly/3afmPha
    - Telegram Link: t.me/codeIn10b...
    - Github Repo Link: github.com/cha...
    ✨ Hashtags ✨
    #NishantChahar #Microsoft #DSA #Recursion #FAANG #NSIT #NSUT #engineering #internship #college
    ✨tags ✨
    Where to learn dp
    where to learn graphs
    where to learn dsa
    how to start programming
    how to start coding
    where to learn trees
    what is memoisation
    what is tabulation
    what are graphs
    where to learn Operating systems
    where to learn dbms
    where to learn oops
    where to learn computer networks
    where to learn low level design
    where to learn cs fundamentals
    Sanchit jain
    Gaurav sen
    Gate smashers
    Placement guide
    How to start programming
    where to learn cpp
    where to learn python
    where to learn javascript
    where to learn java
    Placement guide
    Nishant Chahar Placement Guide
    languages to learn
    resources to learn data structures
    Projects development
    AR/VR
    Blockchain Machine learning
    Deep Learning
    Software developer engineer ,
    Side projects ,
    Importance of side projects ,
    Machine Learning Engineer,
    How to become a machine learning engineer ,
    Associate engineer
    Data structures Algorithms
    College Life, College, Memories
    Fun Fests Chill Enjoy
    IITD Mood indigo rendezvous IIT
    NSUT Moksha DTU Engifest
    Bits Bitsgoa
    Namaste Javascript
    Namaste Javascript Akshay Saini
    Apna college
    Apna college c++
    apna college DSA
    Where to learn dp
    where to learn graphs
    where to learn dsa
    how to start programming
    how to start coding
    where to learn trees
    what is memoisation
    what is tabulation
    what are graphs
    where to learn programming
    how to start coding
    where to learn coding
    where to learn DSA
    resources to learn programming
    how to crack amazon
    how to crack placement
    blockchain
    what is blockchain
    blockchain technology
    blockchain technology explained
    blockchain explained
    blockchain technology in hindi
    web development roadmap
    roadmap to learn web development
    android development roadmap
    MERN stack roadmap
    machine learning roadmap
    roadmap to learn machine learning
    roadmap for deep learning
    roadmap for 2nd years
    roadmap for opensource
    roadmap for ios development
    roadmap for deep learning
    roadmap to learn DSA

КОМЕНТАРІ • 394

  • @Curious.chahar
    @Curious.chahar  2 роки тому +24

    I hope samajh raha hoga! kuch bhi suggestions ho to bata sakte ho
    Also TLE isliye aa raha hai because ye sab problems Dynamic Programming (DP) ki hai vo jab karnege to hatt jayega ye don’t worry!
    link: practice.geeksforgeeks.org/problems/count-ways-to-reach-the-nth-stair-1587115620/1

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

      Bhaiya mujhe smjh mai aa raha hai maine notes v bana raha hun 💓 lot of love and thank you very much bhaiya

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

      Better understanding with you bhaiya

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

      So smooth bhaiya 🤭🤭.. achesee samj agaya💕💕.... Nishant Bhai I'm 3rd year CSE student, Microsoft is my Dream company #Microsoft

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

      jab mene yhan submit kiya to mera code 21th test case par jakar code optimazation ke liye bol rha hai so what i do
      my code is :
      int countWays(int n)
      {
      if(n==2 || n==1)return n;

      long long int recall1 = countWays(n-1);
      long long int recall2 = countWays(n-2);
      long long int res = recall1+recall2;

      return res;
      }

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

      Yessss..... Bhaiya

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

    Day-3
    thanks for such an amazing video bhaiya............. :)

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

    Day 3 Task Done ✅ and Waiting for Tomorrow Lecture. Now i understand Recursion Concept.

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

    Bhaiya your explanation is to the point which is different from other UA-cam channel 🙂👍👍

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

    Thank you !, Nishant Bhai❤️ for making this course in HINDI🤘🤘.

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

    Day3 : ✅
    Nicely explained...that connect to the stairs' example
    You are awesome 🔥

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

    the explanation was very clear , thanks bhaiya ❤️

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

    Amazing feeling learning with you :) thank uh bhaiyaaa

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

    one of the best explanation on youtube

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

    Am a beginner wow he's good at teaching ,
    My journey starts from here!
    Day-3 out of 30
    Thank you bro

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

    Same as previous question it's showing the time limit exceeded error and it only passed 21 cases over 997.
    I know this is the way to get answer but i think it's not so optimized.
    Edited - Ok I saw your pinned comment now i got this. 👍

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

    Completed 3rd video , thankyou Nishant bhayia
    Excited for more learning with you....

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

    Crystal Clear understanding of recursion concept very well explained bhaiyaa❤🔥

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

    very helpful,
    great explanation

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

    Thanks nishant bro it is very helpful to revise my recursion and also easy to understand thanx for this and itta hardwork krne k liye humare liye.....
    your hardwork payss off.....

  • @RajPatel-su7ln
    @RajPatel-su7ln 2 роки тому

    --> Great great bhaiya..
    --> small small things u covered with easiest examples..
    --> keep growing..

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

    day 3 done successfully! I was able to code this question myself! Good improvement! feeling motivated!

  • @UdayKumar-qg6nn
    @UdayKumar-qg6nn 2 роки тому +3

    Recursion is crystal clearly explained by you nishanth brother.... Thank you so much for having a little glimpse of last 2 classes in today's class bcz it made us to take to the concept so much brother....
    Thanks a lot and the trick of base case, small calculation, recursive call and it is very clear brother....
    Day 3/Day 30 is successfully completed bro
    Excited for tomorrow's session brother

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

    I understand the concept of Decoding recursion and the solved example Nth stair problem, Thank you @Nishant Sir very much.

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

    Extremely simplified manner of teaching

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

    Luv Bhaiya se Padhne ke baad, ab yaha aake knowledge or polish ho gayi. THANKS.

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

    EKDUM NEXT LEVEL BHAIYA............BAHUT MST PADHAYA HAI

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

    Amazing Content and Amazing Concept of Teaching..... Thankyou So Much Bhaiya 💓 💖 for this....very Helpful and easy to understand 👉🏼👉

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

    Day 3/50
    Now I understood it properly
    Thanks

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

    Understood the concept behind this problem...will code it.

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

    Getting everyone that come every day to learn here

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

    day3 done , I was confused on how to solve this type of problem, great explanation, thanks

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

    Day 3 New day with new problem 👍
    now it looks simple to solve thnks for this ✌️

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

    I have already studied the use of recursion but I like the way you teach us keep doing.

  • @Aspirant_Rahul.12
    @Aspirant_Rahul.12 2 роки тому +2

    Good explanation and good example used. But please sir try to take different varieties of questions also. Overall great work ❤️❤️

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

    Ha bhaiya samajh aa gya
    Yeh que apne bohat easy way main samjhaya h

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

    now recursion is getting more easier and I have a request can u make a video on c++ stl

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

    Video -3 completed
    #code in 10
    Like your explanation technique alot.

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

    Day 3/30
    Thank you so much Bhaiya 🔥🔥 , bahut sandar

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

    Day 3 done👍... Yo toh badhiya que se... Keep going bhaiya

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

    Day 3/30
    Understand concept thoroughly
    Solved problem!
    Thank you so much for this series!

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

    I really like your way of explanation.

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

    3 Days completed .
    GOAT Nishant bhiya ❤❤
    waiting for next lecture👀👀

  • @AhmedRaza-cx7zy
    @AhmedRaza-cx7zy 2 роки тому +1

    Day 3/30
    Three days completed!!
    Waiting for next videos!! 🤩🤩

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

    Day 3 Completed Successfully
    I am waiting for next video , thanks bahiya for amazing videos

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

    Thanks bhaiya, although I am trying to understand this problem but you make the understanding for me even more easier.

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

    I was trying to solve this problem but was not able to, thank you for this solution, it was really helpful :)

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

    Day -3.
    Pehle theory se concepts clear then coding se application. Easy and amazing. Thanks

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

    Day 3 - Finally grasping the concept of Recursion. Great video.

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

    Thanks for taking that n = 4 example that made me clear how recursion works in this question

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

    Sir really your voice is amazing your face expressions latterly looking good

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

    Great work ... Learning Daily😇😇

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

    You are teaching so well that I solved the question before you solved in video

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

    Day3- So much helpful....
    You are not only a good vlogger but also a good teacher....
    Thanks a lot..... Bhaiya❤

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

    Amazing Content and Amazing Concept of Teaching..... Thankyou So Much Bhaiya

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

    thanks bhaiya recursion in 10mins is fun and amazing

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

    3/30 done😌... Eise chalta raha toh pata nahi chalega kab 30 days khtm ho jayenge aur humara DSA v ho jayega💯... Thank you for making us understand gfg questions.🧿✨

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

    Video on time Buddy 😇

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

    Day 3 ✅
    Loving the way I'm learning from you ❤️

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

    Day 3 done and dusted. Waiting for tomorrow's video to learn more advance problems of recursion

  • @SunnyKumar-tj7jw
    @SunnyKumar-tj7jw 2 роки тому

    Day 3 ✅
    I didn't studied recursion earlier .
    You explained nth stairs problem very well and in simple manner 🤗
    Getting motivated to learn more in this series 👍

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

    Wow what a simple clear explanation man!!

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

    Thank you so much bhaiya. All clear👍🏼

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

    I am now getting good grip on recursion sir 😀

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

    Loved this vid and got the concept 🥂

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

    Started understanding questions ✨thanks

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

    Loving the Recursion Series!

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

    Great approach 3 video done 〰️❤
    Love from assam nishat bhaiya ❤

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

    Now it's my 3 lecture and i enjoy this lot's of respect for you bhaiya
    And i also jumpe 2 stairs 😂

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

    Great Content!!!!
    Bhaiya ek suggestion h, aap apni video right side me krdo.... jb code run krke dikhate ho toh wo aapke peechhe chhup jaata h!!

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

    Day - 3 ✅
    Wonderful explanation 👌❤️

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

    Day 3/30
    Done bt it was late as am not aware of it thank you for solving this question!

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

    Fully Clear after.............
    Thank You bhaiya ♥

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

    Day 3, I just gained some confidence in doing programming . Thank you so much bahiya 😊😊

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

    Day 3 Task Done bro getting a nice hand of recursion now

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

    Nice
    I like your videos

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

    Another day another video. Done!!

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

    you are very nice at explaining bhaiya I am able to think now

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

    Task 3 done ✔
    Thank you so much for all your efforts bhaiya❣

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

    Bhiya Please System design zarur padhha dena apne Channel par its help for our placements and internship

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

    Bhai doing a great job you are helping alot keep it upp soon i will meet you at microsoft !!!!!!

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

    Day 3 done sir like your content ❤️

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

    I need this type lec to thank you sir

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

    Day 3:Done....very nice explanation bhaiya...

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

    Eagerly waiting for next episode 😍

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

    starting me thoda difficult lag raha tha but Code dekhke simple laga

  • @RAUSHANKUMAR-gw9ri
    @RAUSHANKUMAR-gw9ri 2 роки тому

    Day -3 out of 30✅️
    Love to see such content on UA-cam ♥️

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

    Day 3 completed... Absolutely loving it! 🙂

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

    Day 3 wow,learning together bro 😀

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

    DAY 3 done....awsm explanation bhaiya.

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

    I am waiting for my 12 board result, then I go to my college but, before I know the Recursion topic, Thanks Nishat bhaiya for the day 3 out of 30 days
    And and and....... I am coming..........................!

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

    Very nicely explained bro 🥰

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

    Wow,Easily solved ...Thanks Nishant bhai..

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

    DAY-3/30 done
    Very well explained bhaiya

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

    Day 3/30
    Learning with you is just feels Amazing 😌♥️

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

    Day 3🔥 : 🌟Happiness is not found in palaces , it is found in 😊compilers✅ in making hands dirty with code❣

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

    Day 3✅
    You are making recursion look simple by giving great examples..

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

    bhot ache se samjh gye bhaiya thank you very much

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

    Day 3/30 💯 Task Done.. 👍🏻
    Great Session

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

    Day 3 Done ✅. Concept cleared👍🏻

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

    Day 3- Done and Dusted. Started getting little bit of confidence, feeling good , credit goes to you❤. Thank you. #Codein10

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

    Was traveling from last 2 days but will do day 3 and day 4 homework now

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

    3/30 Day , good explanation bhaiya. explanation is very clear.Thank you so much bhaiya.

  • @AbhirajPaul-
    @AbhirajPaul- 2 роки тому

    Day 3 done ☑️. Waiting for the next lecture.

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

    Consistency maintained 📈