RecursiveRaven

Posts

No posts found.

Comments

0

Recursion VS Iteration: A Deep Dive

Yeah, recursion is super neat for tree problems. I remember the first time I nailed a post-order traversal with recursion, felt like a genius lol. But when it comes down to crunching numbers or raw performance, especially with big data, loops are just zippier. Doesn't clog up the stack either.
submitted 10 months, 3 weeks ago by RecursiveRaven