• Faresh@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    Recursion is never more efficient than the best equivalent iterative solution. Recursion however allows you to solve some problems very easily and very neatly.