ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Recursion in 100 Seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2019
  • Learn how recursion ♾️works in 100 seconds. fireship.io
    #compsci #100SecondsOfCode
    Install the quiz app 🤓
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font

ความคิดเห็น • 269

  • @oleksandrisaryk4728
    @oleksandrisaryk4728 4 ปีที่แล้ว +1967

    To understand recursion you need to understand recursion.

    • @thisissyedbasim
      @thisissyedbasim 3 ปีที่แล้ว +70

      But for that you need to understand recursion which means you should know recursion

    • @blocknboom9353
      @blocknboom9353 3 ปีที่แล้ว +29

      which results in you having to understand recursion to know recursion

    • @CoryJaccino
      @CoryJaccino 2 ปีที่แล้ว +12

      Recursion understand to need you recursion understand to.

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

      That's a stupid saying. If that's true, then nobody would have learned recursion.

    • @BurucuGaming06
      @BurucuGaming06 2 ปีที่แล้ว +22

      @@kingofyoutube9318 uhhh is this serious?

  • @IAmAdamTaylor
    @IAmAdamTaylor 4 ปีที่แล้ว +353

    I was expecting the start of the video at the end 😔

    • @leondu
      @leondu 4 ปีที่แล้ว +7

      that's creative

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @CarbonaraDaiSuki
    @CarbonaraDaiSuki 4 ปีที่แล้ว +217

    To really understand recursion, you must first understand recursion.

    • @metastag
      @metastag 4 ปีที่แล้ว +2

      Our Lord has spoken

    • @Ehatntmtntahe
      @Ehatntmtntahe 3 ปีที่แล้ว +1

      Wow there was a comment a month before this comment thats very very similar but got less likes.

    • @zsczxcanme8956
      @zsczxcanme8956 3 ปีที่แล้ว +2

      Yes but how do I learn
      Oh it's recurring
      ok
      Ok
      Ok
      Ok
      Ok
      Ok
      Ok
      Ok
      Ok
      Ok
      Ok

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

      and recursive himself

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @irfanulhoque9348
    @irfanulhoque9348 3 ปีที่แล้ว +449

    Nice video! But you made a mistake in your time complexity analysis. The recursive solution will take O(2^N), not O(N^2). There is a huge difference: O(N^2) means the complexity is bounded by a polynomial function, whereas O(2^N) means the complexity is bounded by an exponential function. These two functions belong to two different classes and their practical implication is quite significant.

    • @farhanaditya2647
      @farhanaditya2647 2 ปีที่แล้ว +5

      nice insight 👍

    • @anonymous_4276
      @anonymous_4276 2 ปีที่แล้ว +6

      @@farhanaditya2647 you've got an interesting name.

    • @MrBarberousse
      @MrBarberousse 2 ปีที่แล้ว +20

      The time complexity is actually O(1.618…^n). 1.618… being the golden ratio.

    • @bdfornever
      @bdfornever 2 ปีที่แล้ว +9

      Ironically, the runtime complexity of this approach is the Fibonacci sequence itself

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

      @Fireship

  • @aleksandarstevanovic5854
    @aleksandarstevanovic5854 4 ปีที่แล้ว +124

    I love those 100 sec videos, somehow those simple explanations are more clear than overcomplicating

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @JoshuaVanAllen
    @JoshuaVanAllen 4 ปีที่แล้ว +392

    Might just be me and that i'm further down my career than others, but i'm kind of tired of recursion being explained by using the fib example. I think the community should come up with some real world examples like traversing a tree and why that is important

    • @Fireship
      @Fireship  4 ปีที่แล้ว +147

      Point taken. I've used recursion in some real-world examples in past videos. It's hard to find minimal examples that don't get bogged down with other implementation details.

    • @voicustefan9418
      @voicustefan9418 4 ปีที่แล้ว +6

      And its also bad because its insanely unoptimal

    • @adastraperlana
      @adastraperlana 4 ปีที่แล้ว +10

      my friend he tried to explain simply in 100 seconds....understand the purpose of the video

    • @JoshuaVanAllen
      @JoshuaVanAllen 4 ปีที่แล้ว +26

      @@adastraperlana oh I know just every computer science course and every tutorial out there that talks about recursion uses fib as an example. I'm just saying in general I think we need to come up with a better example

    • @Phrosen1
      @Phrosen1 4 ปีที่แล้ว +1

      In web design: creating breadcrumbs is a good, simple example for when to use recursion (depending on the CMS, I suppose).

  • @ericsuzuki8966
    @ericsuzuki8966 4 ปีที่แล้ว +9

    The production of these videos is pure art. Really makes the concepts easy to grasp.

  • @FurankieSama
    @FurankieSama 10 หลายเดือนก่อน +4

    The dream analogy is too good. I've been searching for a better analogy than factorials. Thank you. I'm really grateful.

  • @vaaski
    @vaaski 4 ปีที่แล้ว +14

    damn this 100s of [stuff] series is really good to get a grasp of things, keep it going!

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

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

    I love these in 100 seconds videos, please keep em coming!! 📚

  • @vaibhavsinghnegi76
    @vaibhavsinghnegi76 4 ปีที่แล้ว +2

    Your video representation, background music, and the way u explain is awesome man👏👍

  • @yaroslavlukyanets1007
    @yaroslavlukyanets1007 4 ปีที่แล้ว +83

    O(n^2)? maybe O(2^n). Good video anyway

    • @yipyip255
      @yipyip255 4 ปีที่แล้ว +14

      Yeah, I was going to say the same thing. You can the recursive fib to O(n) with dynamic programming but his implementation in the video is O(2^n)

    • @yipyip255
      @yipyip255 4 ปีที่แล้ว +2

      stackoverflow.com/questions/360748/computational-complexity-of-fibonacci-sequence

    • @Panure
      @Panure 4 ปีที่แล้ว +1

      Θ(φ^n)

    • @Fireship
      @Fireship  4 ปีที่แล้ว +12

      Good call, you'r right.

    • @yipyip255
      @yipyip255 4 ปีที่แล้ว +5

      @@Fireship free tshirt?

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

    What a coincidence! Writing a recursive method for the Fibonacci sequence was an interview question I once had and I thought it was really good to test recursion knowledge. Great video

  • @XxDarkCinisterxX
    @XxDarkCinisterxX 4 ปีที่แล้ว +6

    These short and sweet clips are the reason I subscribed.

    • @Fireship
      @Fireship  4 ปีที่แล้ว +3

      Glad to hear that! Many more on the way :)

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @salsamancer
    @salsamancer 2 ปีที่แล้ว +8

    Recursive functions and binary trees were one of my favorite topics while learning programming. It's really fun to marvel at how the logic works.

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

    I think that also talking a bit about the tail call recursion would be nice, since for the fibannaci problem it can make things significantly better with a time complexity of O(n) and auxiliary space of O(n).

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @meco
    @meco 4 ปีที่แล้ว +1

    The animations in this one were extra complimentary

  • @misraaditya9213
    @misraaditya9213 2 ปีที่แล้ว +3

    Recursion as an alternate way to write loops. Thanks for mentioning this early on, because the concept is a big gotcha when people learn functional programming.

    • @gabrielbarrantes6946
      @gabrielbarrantes6946 2 หลายเดือนก่อน +1

      It is not... Some problems can only be solved by recursion, recursion is fundamentally different to loops, can certainly be used as loops tho...

  • @MB-rc8ie
    @MB-rc8ie 2 ปีที่แล้ว +1

    Well it depends on the language implementation, in lisp iteration and recursion are the same thing and you don't have to warry about maximum recursion depth

  • @Omerko
    @Omerko 4 ปีที่แล้ว

    Great Video!! Quick and Easy explanation..

  • @stith_pragya
    @stith_pragya 7 หลายเดือนก่อน +1

    Thank You So Much for this wonderful video........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

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

    this guy actually makes programming look fun

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

    Finally a 100 second video of actually 100 seconds

  • @thetdg
    @thetdg 4 ปีที่แล้ว

    Great video as usual :)

  • @Mehdital89
    @Mehdital89 2 หลายเดือนก่อน

    The quality of your explanations has come a long way

  • @Way_Of_The_Light
    @Way_Of_The_Light 4 ปีที่แล้ว

    Your videos make programming cool 😎

  • @KayVirals
    @KayVirals 4 ปีที่แล้ว +3

    by the time I settled down to watch the video, he said "thank you for watching"

  • @kolskytraveller1369
    @kolskytraveller1369 4 ปีที่แล้ว +8

    You forgot to mention that in your example of dream function all recursion calls are tail calls, so the stack would never overflow with optimized compiler because we can omit pushing next ret instruction address and jump instead.

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

      But some languages like JS and Python don't use tail-call elimination, because they want to make debugging stack traces easier. That's why my bigint implementation of the Ackermann function uses explicit TC elimination, by converting the double recursive call, into a single call performed in a conditional loop

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @huebys
    @huebys 3 ปีที่แล้ว +4

    psyched for memoization!

  • @notgiven3971
    @notgiven3971 ปีที่แล้ว +3

    has the memoization fireship video been made yet? I can't seem to find the video. I have other videos to reference for memoization but I like these types of videos for a brief rundown if I ever need a quick refresher

  • @pawewodarczyk1546
    @pawewodarczyk1546 4 ปีที่แล้ว +25

    It's also worth to mention a tail-call optimization. It allows to avoid stack overflow for bigger recursions ;)

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

      Unfortunalty not many languages have this optimization ;-;.

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

      How would that work for monadic recursion?

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

      i wonder tail-call optimization works under the hood

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

  • @5Doum
    @5Doum 4 ปีที่แล้ว +1

    Looking forward to part 3: dynamic programming

  • @Dan-zw2sc
    @Dan-zw2sc 4 ปีที่แล้ว

    This is basically the MIT recursion lecture but as a summary. Wish I came here first would have saved some time

  • @ServantOfLordKrishna.
    @ServantOfLordKrishna. หลายเดือนก่อน +1

    I'm more confused 🥳🥳really nice video

  • @augusto256
    @augusto256 4 ปีที่แล้ว +1

    Just right now I was struggling with this topic.

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

    I love these videos too. Who did the music for this? 🔥🛸

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

    well, a nice way to calculate Fibonacci numbers is, using power of matrix. that has a complexity of O(logN)

  • @anupamdahal7029
    @anupamdahal7029 3 ปีที่แล้ว

    I have learnt a lot of new things that I have never worked with from your videos, like AWS, nginx, kubernetes, graphQL(and other dbs), typescript to name a few. One thing that I don't understand is how they work together. I would really love to see a video where you design a mock system using all of these (and possibly more) and explain each of their roles and why you chose it (kinda like your reverse-cloud migration video using raspberry pi).
    Whenever I think of a software architecture I think of them as several layers that interact with each other. However, I am unable to assign which layer what belongs to by watching a stand alone tutorial about a single tool.
    Btw, I am a college senior pursuing CS major and I love your content. Thanks for all the awesome contents.

  • @azatecas
    @azatecas 4 ปีที่แล้ว +13

    where's de Memoization video :"(

  • @InformaticageNJP
    @InformaticageNJP 4 ปีที่แล้ว +28

    Hi! Cool idea! But be careful, that implementation of recursive fib is not n^2 and not even 2^n but it's phi^n. With memorization you can make it linear and with matrix powers you can make it logarithmic.

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

      But only in time complexity. regarding to memory complexity your suggested algorithms are actually worse - which is a tradeoff often neglected. Still I would prefer your methods :)

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

      @@SirM0linarius Memoization is O(1) in memory complexity, O(n) time complexity. (You can save an array of O(N) elements if you want, but that's only helpful if you want to calculate the numbers multiple times)

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

      @@marcogoncalves1073 Other way around.

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

      @@Vaaaaadim What do you mean? You literally only keep in memory the last 2 elements that were calculated.

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

      @@marcogoncalves1073 As I understand, memoization is a top-down approach, and would cache results of function calls.
      Dynamic programming, is a bottom-up approach. The approach to computing fibonnaci numbers involving the continual update of a pair of fibonnaci numbers... is a bottom-up approach and hence dynamic programming rather than memoization.

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

    First 100 seconds video I'm seeing on this channel that's really 100 seconds by mathematical standards

  • @kajalmishra6895
    @kajalmishra6895 4 ปีที่แล้ว +8

    Waiting for your next video on memoization...

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

      still waiting...

  • @DigitalDiamond1
    @DigitalDiamond1 10 หลายเดือนก่อน +2

    As some dude once said;
    “In order to understand recursion, one must first understand recursion.”

  • @ambarmutha8504
    @ambarmutha8504 4 ปีที่แล้ว +6

    The implementation in the video has exponential complexity and not O(N^2). Correct me if I am wrong.

    • @misode
      @misode 4 ปีที่แล้ว +1

      Yeah you're right. The time complexity is O(2^N)

  • @abhinavrai8430
    @abhinavrai8430 4 ปีที่แล้ว

    Fireship please dont stop ever!

  • @Name-is2bp
    @Name-is2bp ปีที่แล้ว +5

    did you upload the video on memorization you mentioned? i can't find it.

    • @jst8922
      @jst8922 3 หลายเดือนก่อน

      No, he did not.
      Here is next best thing with simple explanation
      Recursion, the Fibonacci Sequence and Memoization || Python Tutorial || Learn Python Programming
      th-cam.com/video/Qk0zUZW-U_M/w-d-xo.html

  • @ikezedev
    @ikezedev 4 ปีที่แล้ว

    This is lovely...I already shared to twitter 🔥

  • @Robert_53c9
    @Robert_53c9 13 วันที่ผ่านมา

    The future of Binance: an exclusive interview with the CEO

  • @Vermilicious
    @Vermilicious 4 ปีที่แล้ว +1

    Recursion might be a confusing topic to some. It's really just about repetition. It doesn't really come up as a solution very often, but it happens. You just get used to recognizing situations where it makes a lot of sense. It's not the only way to solve such problems, and it's usually not associated with good performance, but it's elegant.

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

      I usually find a recursive solution almost instantly and then implement it iteratively or with higher order collection methods because of efficiency. Once you get the hang of it, recursion is conceptually really easier

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

    Jeff is still my favourite tech youtuber

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

    Good, now we have 10 functions and lets do recursion with those!

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

    Ayyy niceuuu

  • @Linda-v8Linda___7m5t
    @Linda-v8Linda___7m5t 12 วันที่ผ่านมา

    Your guide to success: refund details and anticipated actions

  • @timwhite1783
    @timwhite1783 4 ปีที่แล้ว +23

    it's O(2^n) not O(n^2).

  • @Tlcunha81
    @Tlcunha81 3 หลายเดือนก่อน

    Oh yes!!! Dynamic programming

  • @raknjarasoa
    @raknjarasoa 4 ปีที่แล้ว

    Great!

  • @JaviScript
    @JaviScript 4 ปีที่แล้ว +1

    This is the best channel on TH-cam. Like, ever.

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

    Im learning a lot in 100 seconds.

  • @boheem3451
    @boheem3451 4 ปีที่แล้ว

    I didn't understand the background, invisible stuff - the stuff that was happening on the stack. That's why recursion looks so strange. It's difficult to visualize what you don't know about.

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

    Actually you want to avoid recursion. The point is, you can have recursion without noticing it, when several functions call each other in a circle. And if there is a stopping condition, it is hard to tell what exactly the stopping condition is.

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

      th-cam.com/video/xeMcWN_5qK4/w-d-xo.html
      This is awesome!! Clear all your doubts about Recursion and master it in just 15 minutes!!
      Watch now!!

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

      Nah, recursion is fine for various problems. Normally parsers and compillers use them a lot

  • @dhruvsaraswat9776
    @dhruvsaraswat9776 4 ปีที่แล้ว +2

    I just noticed, the logo which you use is really similar to the logo of freecodecamp.org, is this TH-cam channel associated with freecodecamp in any way ?
    I loved the simple explanation provided in this video ! 👍

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

    Awww shieeeet 0:30 wokies, being NPCs, can't dream. 💕 it!

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

    I think, there is one mistake in function you've written for fib sequence, you should return targetIndex in the base case not 1.

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

    Recursion is like Newton's first law of motion

  • @TheMaxZakh
    @TheMaxZakh 10 หลายเดือนก่อน

    honestly I could use a 1000 second video on this topic

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

    Him: "index 2023"
    Me: WHAT how did he know?!

  • @Donzw
    @Donzw 2 หลายเดือนก่อน

    Does the memoization video still exist, i cant find it anywhere. Might be nice to put a link to videos you mention in the description.

  • @GhostBudzHQ
    @GhostBudzHQ 7 วันที่ผ่านมา

    Everything is connected 😮

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

    As someone who is currently in a year index of 2023, I agree with this.

  • @gamerkaue88
    @gamerkaue88 4 ปีที่แล้ว +2

    I dare you to explain monads in 100 seconds.

  • @MoguMogu818
    @MoguMogu818 10 หลายเดือนก่อน

    Every time I am told to do recursion, I shrivel up because how does something call itself. Wouldn't it go into a loop? Wouldn't n never approach the end of the array and instead approach infinity because it just keeps looking again and again. I am so dumb, but idk how I've made it this far by avoiding recursion.

  • @ABIMASS-000
    @ABIMASS-000 2 หลายเดือนก่อน

    Nice

  • @k1ngjulien_
    @k1ngjulien_ 4 ปีที่แล้ว +6

    I feel like recursion is not a topic which can be properly explained in just 100s.
    array map and reduce were good, but this is much more complex

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

      Recursion is when a function calls itself. there that didn't even take more than 5 sec.
      jibes aside, recursion is a very simple concept, but its hard for people to get their heads arround it. like some people coming in from procedural languages have a really bad time understanding JS's async code, i.e Callbacks and Promises. Thankfully Async Await is pretty much bridged that gap.

  • @randomeone100
    @randomeone100 4 หลายเดือนก่อน +1

    1:20 TC will be 2^n if I am not wrong

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

    1:20 No, this is exponential time, not quadratic time. O(2^n) -- NOT O(n^2)

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

    I can't believe there is not a link to this video in the description

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

    It is programming equivalent of Inception.

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

    cool

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

    Oh. I saw that CS in the thumbnail and misread it as CSS. I was wondering how CSS could be recursive.

  • @eshaan7_
    @eshaan7_ 4 ปีที่แล้ว +4

    brooo...where's the memoization video

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

    Still waiting for that memoization video

  • @MaxDiscere
    @MaxDiscere 4 ปีที่แล้ว

    how's the background song called?

  • @Heeter
    @Heeter 2 หลายเดือนก่อน

    I can't find the memoization video!

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

    After my confirmation, I will buy a gaming pc. Then I'm going to make a program with a recursive function and wait until it used up all 16GB of RAM

  •  3 ปีที่แล้ว +3

    Memoization?

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

    Can someone explain:
    const sequence = [0n, 1n];
    what do 0n and 1n mean?

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

      Those are bigint literals

  • @beinyourguard
    @beinyourguard 4 ปีที่แล้ว

    This channel makes me realize how shit I am on JS.

  • @user-vs3uu7mk5f
    @user-vs3uu7mk5f ปีที่แล้ว +3

    where is the memorization video

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

    Did the memoization happen?

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

    Where is Memoization video.
    Please upload.

  • @devikakrishna4464
    @devikakrishna4464 4 ปีที่แล้ว

    0:14 me a cpp and c coder:thats a problem of the future

  • @StrangeIndeed
    @StrangeIndeed 3 ปีที่แล้ว

    You know what they say, to understand recursion, you first need to understand that the real recursion were the friends we made along the way

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

    I'm still waiting for the memoization video 2 years later

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

    1:18 O(N^2)? No it isn't, it's at least exponential, and no more than O(2^N). Also "O to the N^2"? --> "O of ..."

  • @niklase5901
    @niklase5901 หลายเดือนก่อน

    I have never seen a good use of recursion. They are hard to debug and they are cryptic to understand. Trees usually have a limited nr of levels.

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

    Huh. Did that memoisation video ever get made?

  • @rahulsingh7508
    @rahulsingh7508 หลายเดือนก่อน

    Is recursion helpful in solving majority of the chess problems?

  • @gerritweiermann79
    @gerritweiermann79 3 ปีที่แล้ว +1

    Oh no, memoization is still not out :( (if I searched correctly)

  • @Kevin-b1Kevin__h
    @Kevin-b1Kevin__h 13 วันที่ผ่านมา

    Behind the scenes: Binance CEO shares insights into future developments in an exclusive interview

  • @TheUntitledworks
    @TheUntitledworks 4 ปีที่แล้ว

    I get stuck on a recursive loop when I start thinking about lunch. How do I return out of the loop???

    • @can_pacis
      @can_pacis 4 ปีที่แล้ว +3

      you don't, you eat lunch