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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 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.

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

  • @englishtestdaily2415
    @englishtestdaily2415 9 หลายเดือนก่อน +1

    one of the best explanation on youtube

  • @shivamnk8
    @shivamnk8 2 ปีที่แล้ว +1

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

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

  • @ankitchandore1554
    @ankitchandore1554 2 ปีที่แล้ว +1

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

  • @oNago555
    @oNago555 2 ปีที่แล้ว +1

    the explanation was very clear , thanks bhaiya ❤️

  • @vaibhavigvp
    @vaibhavigvp 2 ปีที่แล้ว +1

    Amazing feeling learning with you :) thank uh bhaiyaaa

  • @kapilrajendra
    @kapilrajendra 2 ปีที่แล้ว +1

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

  • @biswadeeppurkayastha8513
    @biswadeeppurkayastha8513 2 ปีที่แล้ว

    Extremely simplified manner of teaching

  • @srinityapavani5347
    @srinityapavani5347 2 ปีที่แล้ว +1

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

  • @pplo7
    @pplo7 2 ปีที่แล้ว +1

    Getting everyone that come every day to learn here

  • @pratiktekale994
    @pratiktekale994 2 ปีที่แล้ว +1

    very helpful,
    great explanation

  • @jayprakashmangal
    @jayprakashmangal 2 ปีที่แล้ว

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

  • @daksheshgupta5476
    @daksheshgupta5476 2 ปีที่แล้ว

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

  • @Prashant_Dhote
    @Prashant_Dhote 2 ปีที่แล้ว +1

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

  • @nik_codes7044
    @nik_codes7044 2 ปีที่แล้ว

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

  • @AhmedRaza-cx7zy
    @AhmedRaza-cx7zy 2 ปีที่แล้ว +1

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

  • @prasenjeetkapse2020
    @prasenjeetkapse2020 2 ปีที่แล้ว

    I really like your way of explanation.

  • @shubhamagnihotri4215
    @shubhamagnihotri4215 2 ปีที่แล้ว

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

  • @bhaveshchavan6075
    @bhaveshchavan6075 2 ปีที่แล้ว +1

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

  • @SH_987
    @SH_987 2 ปีที่แล้ว

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

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

  • @shobhitkumar9830
    @shobhitkumar9830 2 ปีที่แล้ว +1

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

  • @RajPatel-su7ln
    @RajPatel-su7ln 2 ปีที่แล้ว

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

  • @srashtifarkya4940
    @srashtifarkya4940 2 ปีที่แล้ว +1

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

  • @lalitsangore
    @lalitsangore 2 ปีที่แล้ว

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

  • @tanaytambe396
    @tanaytambe396 2 ปีที่แล้ว

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

  • @AryanPatelyt
    @AryanPatelyt 2 ปีที่แล้ว

    Day 3/50
    Now I understood it properly
    Thanks

  • @rupalxx
    @rupalxx 2 ปีที่แล้ว

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

  • @ashishagarwal9846
    @ashishagarwal9846 2 ปีที่แล้ว

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

  • @harshjain7222
    @harshjain7222 2 ปีที่แล้ว

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

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

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

  • @nayanchandak6576
    @nayanchandak6576 2 ปีที่แล้ว +1

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

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

  • @positiveattitude9506
    @positiveattitude9506 2 ปีที่แล้ว

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

  • @abhishekkhasre3098
    @abhishekkhasre3098 2 ปีที่แล้ว

    Great work ... Learning Daily😇😇

  • @amiya51
    @amiya51 2 ปีที่แล้ว

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

  • @amanhayer665
    @amanhayer665 2 ปีที่แล้ว

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

  • @yashvarshney9462
    @yashvarshney9462 2 ปีที่แล้ว

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

  • @batchupranav231
    @batchupranav231 2 ปีที่แล้ว

    thanks bhaiya recursion in 10mins is fun and amazing

  • @vaibhavkumar4382
    @vaibhavkumar4382 2 ปีที่แล้ว

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

  • @arghya_0802
    @arghya_0802 2 ปีที่แล้ว

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

  • @manemanoj3068
    @manemanoj3068 2 ปีที่แล้ว +1

    Video on time Buddy 😇

  • @jaykumarpatel2372
    @jaykumarpatel2372 2 ปีที่แล้ว

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

  • @dadakhatri7087
    @dadakhatri7087 2 ปีที่แล้ว +1

    Nice
    I like your videos

  • @arpitvijay9382
    @arpitvijay9382 ปีที่แล้ว

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

  • @zlitegaming8397
    @zlitegaming8397 2 ปีที่แล้ว

    bhot ache se samjh gye bhaiya thank you very much

  • @omkarlolage8391
    @omkarlolage8391 2 ปีที่แล้ว +1

    Thank you so much bhaiya. All clear👍🏼

  • @hemantsharma9254
    @hemantsharma9254 2 ปีที่แล้ว +1

    I need this type lec to thank you sir

  • @abhiverma5135
    @abhiverma5135 2 ปีที่แล้ว

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

  • @naman789100
    @naman789100 2 ปีที่แล้ว

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

  • @ashishkumargupta4090
    @ashishkumargupta4090 2 ปีที่แล้ว +1

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

  • @ronak____165
    @ronak____165 2 ปีที่แล้ว +1

    Day - 3 ✅
    Wonderful explanation 👌❤️

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

  • @nakulpise618
    @nakulpise618 2 ปีที่แล้ว +1

    Day 3 done sir like your content ❤️

  • @teksight
    @teksight 2 ปีที่แล้ว +1

    Another day another video. Done!!

  • @sahiltambe9085
    @sahiltambe9085 2 ปีที่แล้ว

    I am now getting good grip on recursion sir 😀

  • @charitha6271
    @charitha6271 2 ปีที่แล้ว

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

  • @vivekanandapadhi4654
    @vivekanandapadhi4654 2 ปีที่แล้ว

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

  • @krutikaushikmohapatra1635
    @krutikaushikmohapatra1635 2 ปีที่แล้ว

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

  • @bhavyejain2289
    @bhavyejain2289 2 ปีที่แล้ว

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

  • @vn6851
    @vn6851 2 ปีที่แล้ว

    Made it so simple thanks bhaiya

  • @aparupganguly01
    @aparupganguly01 2 ปีที่แล้ว +1

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

  • @AbhirajPaul-
    @AbhirajPaul- 2 ปีที่แล้ว

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

  • @Yashkurzekar
    @Yashkurzekar 2 ปีที่แล้ว

    Started understanding questions ✨thanks

  • @sarthakshah6548
    @sarthakshah6548 2 ปีที่แล้ว

    Day 3 Done ✅. Concept cleared👍🏻

  • @kaustavpurkayastha
    @kaustavpurkayastha 2 ปีที่แล้ว

    Wow what a simple clear explanation man!!

  • @jatinnandwani6678
    @jatinnandwani6678 ปีที่แล้ว

    Thank you bhai
    This is quite helpful

  • @aditirathore2961
    @aditirathore2961 2 ปีที่แล้ว

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

  • @pankajbansal2255
    @pankajbansal2255 2 ปีที่แล้ว

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

  • @mdtariqueazeez9213
    @mdtariqueazeez9213 2 ปีที่แล้ว

    Very nicely explained bro 🥰

  • @swetadey3227
    @swetadey3227 2 ปีที่แล้ว

    Loving the Recursion Series!

  • @vishnutiwari1657
    @vishnutiwari1657 2 ปีที่แล้ว +1

    Eagerly waiting for next episode 😍

  • @aaradhyahada4828
    @aaradhyahada4828 2 ปีที่แล้ว

    Loved this vid and got the concept 🥂

  • @deeppatel7657
    @deeppatel7657 2 ปีที่แล้ว

    DAY-3/30 done
    Very well explained bhaiya

  • @nehalahmedansari3798
    @nehalahmedansari3798 2 ปีที่แล้ว

    DAY 3 done....awsm explanation bhaiya.

  • @rajdhotre6784
    @rajdhotre6784 2 ปีที่แล้ว

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

  • @satakshigupta4121
    @satakshigupta4121 2 ปีที่แล้ว

    Day 3 complete
    Recursion is getting clear

  • @prayashnaik3561
    @prayashnaik3561 2 ปีที่แล้ว

    Informative 💯

  • @RAUSHANKUMAR-gw9ri
    @RAUSHANKUMAR-gw9ri 2 ปีที่แล้ว

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

  • @ankit_6378
    @ankit_6378 2 ปีที่แล้ว

    #Day3 Notes and Code done
    #CodeIn10 long way to go

  • @mdrashid3367
    @mdrashid3367 2 ปีที่แล้ว

    Jo log apne copy 📚 pe ye sb study karke notes bana rahe h like my comments ok 💗 thanks a lot bhiya love this code in 10
    Regular rahna hai tabhi maza aayga ❤️❤️❤️

  • @amitamrutiya7335
    @amitamrutiya7335 2 ปีที่แล้ว

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

  • @the_stonedemon2965
    @the_stonedemon2965 2 ปีที่แล้ว

    now it clears up the recursion

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

  • @mayurkumbhare1926
    @mayurkumbhare1926 2 ปีที่แล้ว +1

    Day 3
    Slowly slowly learning

  • @anudeepdasari5504
    @anudeepdasari5504 2 ปีที่แล้ว

    getting improved in recursion

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

  • @DHEERAJ0701
    @DHEERAJ0701 2 ปีที่แล้ว

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

  • @rajentertainment2422
    @rajentertainment2422 2 ปีที่แล้ว

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

  • @mannusharma3228
    @mannusharma3228 2 ปีที่แล้ว

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

  • @rajgupta9413
    @rajgupta9413 2 ปีที่แล้ว +1

    And Day 3 done 🔥

  • @anabathulathanaysisir
    @anabathulathanaysisir 2 ปีที่แล้ว

    Day 3 wow,learning together bro 😀

  • @yuvakishor2320
    @yuvakishor2320 2 ปีที่แล้ว

    DAY 3 / 30 ....
    It's a great pleasure to learn with you

  • @manashpratimbhowmick7211
    @manashpratimbhowmick7211 2 ปีที่แล้ว

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

  • @diptanjankar9848
    @diptanjankar9848 2 ปีที่แล้ว

    Day 3 ❤️ finally great Nishant bheiya