We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Functions and Fractals - Recursive Trees - Bash!
Functions and Fractals - Recursive Trees - Bash!
Sort by
recency
|
156 Discussions
|
Please Login in order to post a comment
BASH
In Bash, functions are blocks of reusable code, which is essential for recursion. For a recursive tree, a function typically represents drawing a branch and then calling itself to draw sub-branches. Cric Adda
Kind of sad this is not a valid answer but i get it, it is a really inefficient solution
ITERATIVE version (ultra-compact)