Lecture 52: How To Solve Recursion Problem from 4 different Method

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Recursion in c++ | What is Recursion | Recursion Basic
    Home work sheet: drive.google.c...
    Join Our Whatsapp Channel: whatsapp.com/c...
    Day 73/180, #180daysofcode #180 hard
    We have made a whole video in c++, How to solve pattern print problem. We explained everything with the help of code.
    We are doing 180 days challenge and going to complete the whole course within the duration with quality content on UA-cam. I am on the mission to create a tech revolution in our country and in upcoming future we want to create a tech which will create many jobs in India.
    Video will come on Mon-Fri at 6am in the morning
    CoderArmy Website (Buy premium feature at 99 Only for 6 months): www.coderarmy.in
    Premium Feature includes:
    1: Doubt Support
    2: Mentorship session
    3: Placement Support to Top Students
    4: Resume and Linkedin Profile Building
    5: Coding contest twice a month
    6: Course completion Certificate
    7: Home work Discussion
    DSA Course for free
    C++ Free Course
    Rohit Negi DSA Course C++
    Coder Army DSA Course c++
    Function in C++
    Pointers in C++.
    Strings
    Vector
    Introduction to Recursion
    connect to me on Instagram: rohit978.page....
    Linkedin: rohit978.page....
    Telegram: rohit978.page....

КОМЕНТАРІ • 135

  • @CoderArmy9
    @CoderArmy9  9 місяців тому +48

    Kaisi chal rahi hai aapki preparation...

  • @MathsWithSatyamPandey
    @MathsWithSatyamPandey 9 місяців тому +10

    Reverse approach my best part bhaiya ❤

  • @anupammishra6514
    @anupammishra6514 9 місяців тому +8

    Recursive tree is the best part of the video and ......i liked reverse order approach ❤❤❤

  • @HarshitSrivastav-yw4xy
    @HarshitSrivastav-yw4xy 16 днів тому +1

    Even number from 1 to n:
    #include
    using namespace std;
    void fun(int n)
    {
    if(n==2)
    {
    cout

  • @akashkewat1219
    @akashkewat1219 9 місяців тому +3

    Mera best part toh jin wala tha, just imagining jin stucked in a loop of stairs.
    Thanks bhaiya😊

  • @pratapkumar7249
    @pratapkumar7249 5 місяців тому +2

    bhiya aaj to maja hi hi a gaya aapne kahani bhi aaj suna diya jin wala😂

  • @5harshitshrivastava
    @5harshitshrivastava 6 місяців тому +7

    Samjh aa gya
    Lec 52 completed

  • @HarshitSrivastav-yw4xy
    @HarshitSrivastav-yw4xy 16 днів тому +1

    H.W :Table
    #include
    using namespace std;
    void fun(int n,int N)
    {
    if(n>10)
    return;
    cout

  • @jerry-vv2jk
    @jerry-vv2jk 9 місяців тому +4

    bhaiya , first time i am learning recursion like this🔥

  • @Rituk02
    @Rituk02 9 днів тому

    that story was amazing..started liking coding because of u..Thank You!

  • @rohitjaiswal5105
    @rohitjaiswal5105 7 місяців тому +1

    Bhaiya aseha toh sab hi acha laga q ki kuch sikhnai ko mila aur sabse best sochne ke baad reverse order mai print karne wala technique acha tha❤ ❤❤

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

    Bhaiya best part jab aapne odd num vaale case ko main mai sambhal liya nhi toh mai usse function mai sambhal Raha tha and muskil ho rha tha thoda ❤❤❤❤❤

  • @ankushladani496
    @ankushladani496 9 місяців тому +6

    There are 2 types of recursion
    Head recursion
    Tail recursion
    Please explore this 2.

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

    Q3.-> Write a Table program using recursion. Take input number n, and print its table.
    # include
    using namespace std;
    void table(int i,int n){
    if(i==11){
    return;
    }
    int mul=n*i;
    cout

  • @Harsh-sx4xv
    @Harsh-sx4xv 2 місяці тому +1

    Great video : Table program->
    #include
    void table(int,int);
    int main()
    {
    int n;
    std::coutn;
    table(n,1);
    return 0;
    }
    void table(int n,int x){
    if(x>10)
    return;
    std::cout

  • @sagar00121
    @sagar00121 7 місяців тому +1

    Last ki recursion story me maza aa gya "Zin ke lag gaye"
    or,,
    Lacture or ki baat hi agal thi

  • @Kamleshtravelgram
    @Kamleshtravelgram 7 місяців тому +1

    carry on bhai all Dreams come dream true keep shining ❤

  • @Ak250-o8k
    @Ak250-o8k 7 днів тому

    pura lecture hi best hai

  • @DEEPJAIN_
    @DEEPJAIN_ 3 місяці тому +1

    sir next level
    course leke course ka nhi samaja but apka samaj gaya

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

    54:00
    Here is the another way to solve this question
    #include
    using namespace std;
    void Print(int num)
    {
    if (num == 1)
    {
    return;
    }
    Print(num - 1);
    if (num % 2 == 0)
    {
    cout

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

    even problm 2 argument diff method:-
    #include
    using namespace std;
    void print(int num, int n)
    {
    if (num == n)
    {
    if (num % 2 == 0)
    {
    cout

  • @actualsatan2420
    @actualsatan2420 6 місяців тому +1

    Awesome recursion lecture.

  • @SupremeAlpha-o1s
    @SupremeAlpha-o1s 2 місяці тому

    #include
    using namespace std;
    void print_odd(int n)
    {
    if ( n == 1)//Base condition
    {
    cout

  • @joydeep-halder
    @joydeep-halder 9 місяців тому

    HW Solution: from 10 to n.
    void print(int n){
    if(n

  • @Himanshu_85-e2i
    @Himanshu_85-e2i 6 місяців тому

    bhaiya mai late se padh raha hu apka dsa course aur abhi recursion ke 2nd video pe aa gaya hu aur bahut maza ata hai bhaya padhne me pura samajh ata hai ( you are great bhaiya for us .) ( you are doing very hard work for us bro ) ( we shall be very thankful for your hard work bhaiya )

    • @owais2609
      @owais2609 6 місяців тому +1

      start kab kiya?

    • @Himanshu_85-e2i
      @Himanshu_85-e2i 6 місяців тому

      @@owais2609 so mahina pehle kiye the but Ghar chal Gaye the na chhutti me to piche ho gayev

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

      acha mane bhi abhi start kiya tha kuch 1 mahina phle ma bhi recursion pe hu 🙂🙂@@Himanshu_85-e2i

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

    Q2.🍵🍵-> Print all numbers from 10 to n using recursion, where n will be greater than 10
    Ans->
    # include
    using namespace std;
    void print(int n){
    if(n==10){
    cout

  • @Swiftie03
    @Swiftie03 9 місяців тому +2

    I'll definitely donate if i meet the Jin 😂

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

    Recursion lecture 2 done ✅✅✅

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

    Recursion best playlist
    And last mein story was awesome😂😂

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

    best part wo laga jahan par 1 hi argument pass krke hamne same problem ko solve kiya ( jo 2 args pass krke ho raha tha)

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

    Done Bhaiya
    Jini be like: Ye coder army se recursion padke aya hain

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

    odd problem ans:-
    #include
    using namespace std;
    void print(int num)
    {
    if (num == 1)
    {
    cout

  • @adityatomar-se4yw
    @adityatomar-se4yw 9 місяців тому +1

    Best recursion series

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

    # include
    # include
    # include
    using namespace std;
    void odd(int n){
    if(n==1){
    cout

  • @skillfulmind960
    @skillfulmind960 9 місяців тому +8

    Completely Awesome explanation of different types of Recursion .

  • @pratapkumar7249
    @pratapkumar7249 5 місяців тому +1

    abhi ham roz aapki vidio dekhte hai

  • @user-vk3vb6fn9e
    @user-vk3vb6fn9e 9 місяців тому +1

    Recursive tree is the best part of the whole recursion

  • @harimohansharma5561
    @harimohansharma5561 3 місяці тому

    base case ko two ways se lena mera best part h kyuki usse me question ko do tarike se kar sakta hu.

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

    all concept clear and easy

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

    sir recursion jinn wali story badi funny thi love you sir ji

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

    THANK YOU BHAIYA FOR MAKING THE CONCEPTS SO EASY

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

    Awesome lecture bhaiya crystal clear

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

    Last ki story ekdam mst thi😂
    Thank u😊

  • @Aryan-wl7mc
    @Aryan-wl7mc 9 місяців тому +1

    When this will be all over this DSA course.. I am gonna miss it 😂😭

  • @joydeep-halder
    @joydeep-halder 9 місяців тому

    HW Solution for printing all odd numbers.
    void printOdd(int n){
    if(n

  • @FireGamerz-of6vv
    @FireGamerz-of6vv 6 місяців тому

    After watching the leacture
    1) printing the element at the time of pushing the function in to the stack (5 to 1) => 5,4,3,2,1;
    2) printing the element at the time of popping the function from the stack(1 to 5) => 1,2,3,4,5 [5 is enters1st it is completed last, 1 is enters last but it is completing 1st];

  • @kapildas968
    @kapildas968 24 дні тому

    reverse method sabse accha lagaa

  • @joydeep-halder
    @joydeep-halder 9 місяців тому

    HW Solution: Table
    void print(int i, int n){
    if(i>10) return;
    cout

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

    maza agya gurudev

  • @AkashKumawat-g6y
    @AkashKumawat-g6y 2 місяці тому

    Maja aa gaya recursion me❤ and kahani achhi thi😂

  • @DevanshGupta-io7rl
    @DevanshGupta-io7rl 9 місяців тому +1

    recursion jaan bacha skta hai

  • @SatendraChauhan-ke5yr
    @SatendraChauhan-ke5yr 4 місяці тому +2

    1:2:30 arre bhaiya apko paisa kyo donate kare aap to pahle se hi aamir hai 😀😀😀😀😀

  • @nanumix3167
    @nanumix3167 Місяць тому +1

    14:35

  • @SiyaRamSiyaRam1008
    @SiyaRamSiyaRam1008 6 місяців тому +1

    1:00:01 best part bhaiya 😂😂

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

    Amazing❤ Series bhaiya

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

    what i solve i will post it from you bhaiya🙏🙏🙏🙏🙏🙏

  • @Vivekkumarmishra01
    @Vivekkumarmishra01 8 місяців тому

    recurrsion samaj gaya finally

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

    recursion tree.🤩

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

    Done 👍

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

    Tnx for the video bhaiya❣

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

    1:01:30 Ginnn be like : Mujhe fasaya gaya hai 😂

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

    Jin Wala Part sera tha 😂🤣😅

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

    best part of video is "story of jinn ! ";

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

    sir, you did not say why to use recursion instead of loop

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

    awesome lecture

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

    bhaiya budh budh se gyan badha raha hai ,saandar explanation bhaiya

  • @DarkDragon-bz6qp
    @DarkDragon-bz6qp Місяць тому

    Done

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

    nice explanation

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

    jai hind bhaiya, and love you to

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

    Done
    Day 73/180 ✅

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

    Thanks Bhaiya...❤🎉

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

    Done Bhaiya... Day 73/180 ✅

  • @daily-motivaion
    @daily-motivaion 9 місяців тому

    Sab chamak gaya bahiya

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

    Chamka bhaiya chamka

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

    Bhaiya Jin ki story sandar thi 😂

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

    Bhaiya Radhe Radhe 🙏

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

    Good morning bhaiya ji 💖

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

    Jai hind jai bharat.😊

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

    Day 73 👍✅ Chamak Gaya

  • @user-ns2ud1xn4i
    @user-ns2ud1xn4i 8 місяців тому

    sir ap to asa kh re ho rsgulla psnd h ya rasmlai
    dono pkwan hi mjedar h to kese btaye kya psnd h kya nhi

  • @user-tb6hk8tb9f
    @user-tb6hk8tb9f 9 місяців тому

    awesome lecture

  • @AbdullahRaza-hg1ff
    @AbdullahRaza-hg1ff 9 місяців тому

    Good morning bhaiya ❤

  • @GopalKumar-xu3iw
    @GopalKumar-xu3iw 8 місяців тому

    day 73/180 done

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

    Masth tha easy

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

    Good morning 🌄

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

    gin aayega to mai use break condtion samjha dunga taaki fir wo ullu na bane🤣🤣🤣

  • @SmritiSharma-vv7ib
    @SmritiSharma-vv7ib Місяць тому +1

    bhaia leet code questions krwaya kro khub saare please

  • @SurajGupta-ux2se
    @SurajGupta-ux2se 2 місяці тому

    that Gin be like "Mujhe mere ghar jana hai "

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

    chamak gaya

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

    Chamak gya bhaiya

  • @SupremeAlpha-o1s
    @SupremeAlpha-o1s 2 місяці тому

    #include
    using namespace std;
    void print(int a, int b)
    {
    if(a == b)
    {
    cout

  • @crazy_kunta_cs
    @crazy_kunta_cs 3 місяці тому

    day2

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

    Day 73 ✅🔥

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

    Dsa ❤🔥

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

    Day 73/180 👍

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

    👏👏

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

    best part 1:02:35 😂😂

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

    IR07117D

  • @user-bt6iv3rj7h
    @user-bt6iv3rj7h 28 днів тому

    comeback

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