Recursion Visualization - Algorithms

Recursion is a concept that is best understood through visualization. In this video, you will see visualization for different kinds of recursions. For simplicity, I chose to animate recursive functions using trees. Properties of the recursion tree visualizations are:
* Each node represents a single recursive function call.
* The height of the recursion tree is the depth of our function call stack.
* The rate of change of the tree's width represents the time complexity of our function.
If you want to see the visualizations, dive right in.
Outline of this video:
* 0:00 - Intro
* 0:29 - Recursive Power Function Visualization
* 1:08 - Recursive Fibonacci Calculation Visualization
* 2:23 - Recursive Fibonacci-like Sequence Calculation Visualization
* 2:38 - Conclusion
* 3:22 - Slow-mo Fibonacci 10 Visualization
* 5:45 - Outro
Recursion visualization tool used in this video:
* quanticdev.com/tools/recursion-visualization
If you want to read or contribute, you can find this guide on:
* quanticdev.com/algorithms/primitives/recursion-visualization
My "Staircase Problem + 3 Variants" video, which is a great real-world application of recursive solutions, as well as memoization and plain iteration:
* kzread.info/dash/bejne/o4d5lMuEgriahaQ.html
My Algorithms Playlist:
* kzread.info/head/PLlPRnMzqjADqDZFBqdwzbIjf71h8xYs4x
- - - - - - - - - - -
quanticdev
quantic_dev
quanticdev.com

Пікірлер: 13

  • @QuanticDev
    @QuanticDev3 жыл бұрын

    See you at quanticdev.com

  • @EnLaMitad
    @EnLaMitad3 жыл бұрын

    Really great visualization. Thanks.

  • @aytunch
    @aytunch3 жыл бұрын

    great visualization. keep more coming :)

  • @swapnil8773
    @swapnil87732 жыл бұрын

    Thank You, it helped me understand recursion.

  • @doublesplitgod6952
    @doublesplitgod69523 жыл бұрын

    u are really great

  • @ShivamKumar-kd1ww
    @ShivamKumar-kd1ww2 жыл бұрын

    maza aa gaya bhai.

  • @johnwaas4864
    @johnwaas48643 жыл бұрын

    Great video. What software or tool did you use to make the video?

  • @QuanticDev

    @QuanticDev

    3 жыл бұрын

    Animations are custom React.js code. Rest is just Premiere editing.

  • @Anirbansinha24

    @Anirbansinha24

    3 жыл бұрын

    @@QuanticDev Sir can you guide us how you made this tool?

  • @QuanticDev

    @QuanticDev

    3 жыл бұрын

    Good idea actually. I'll make a vid on how to make algo vids and visualize them. Thanks for the suggestion! In the meantime, you can check out the source code for this visualization in the video description.

  • @Anirbansinha24

    @Anirbansinha24

    3 жыл бұрын

    @@QuanticDev Thank you so much for the response sir ❤️ , how long it took for u to build the whole project?

  • @Anirbansinha24

    @Anirbansinha24

    3 жыл бұрын

    @@QuanticDev btw is ur name Bruno papa? Cause in the website it's showing this

Келесі