What is Recursion? A Python Example

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

КОМЕНТАРІ • 30

  • @kahanbhalani3607
    @kahanbhalani3607 3 роки тому +7

    The execution of your teaching is perfect for beginners. 💯

  • @GalaxyerLP
    @GalaxyerLP 4 роки тому +7

    The brogrammer is back.

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

    Welcome back jomaa! helps me a lot

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

    Love this Dude!!

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

    I have understood everything about “ quick sort “ except the recursion how does it work in the code , your video helped me to understand that point , thanks man

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

    Joma when are you uploading a new blog? Please answer 🙏...

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

    I have a question about the infinite loop.
    Earlier on you have demonstrated using print statements that call stacks are FILO(first in last out)
    However we can see while attempting the infinite loop it became FIFO.. why is that so?

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

      Because my print statement was in the beginning of the function, so the function is “out” yet. It just started. So when it “started” it was the “IN” part of FILO not out

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

      @@JomaClass sorry senpai, how stupid of me *slaps head*

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

    Nice explanation Joma. Good job!!

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

    WELCOME BACK DUDE

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

    What software is this to draw? Thanks

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

    // this is the same code but in javaScript
    funcR(9)
    function funcR(a) {
    console.log("start: " + String(a))
    let res = 0
    if (a == 0) {
    res = 0
    }else {
    res = funcR(a - 1) + 1
    console.log("end: " + String(a))
    return res
    }
    }

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

    Great video, very interesting topics

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

    Brother, i want to take your joma classes but I'm confused with the following one question-
    1.do i need to pay $8 even after I complete the process of learning from u?

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

    Thank you it was very good

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

    What program did you use to draw out the solution.

  • @Zero_59627
    @Zero_59627 23 дні тому

    Whats LOG::INFO() IN c++

  • @sathvikmuppavarapu9747
    @sathvikmuppavarapu9747 4 роки тому +10

    bruh wtf i literally just searched it up 2 hours ago

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

    Thank you very good

  • @quianoherminigildojra.4989
    @quianoherminigildojra.4989 3 роки тому

    thanks

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

    First example is just function calling it is not recursion. Still a good explanation though.

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

    Why you use python??

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

    when joma uploads a video with 0 sarcasm in it.....wtf did just happen...

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

    Hi Joma...
    Hope you see this.
    And give your Email.

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

    이거 한국어 자막 달아주는 사람 없겠지