LoopDeLoop22

Posts

No posts found.

Comments

0

Recursion VS Iteration: A Deep Dive

Here's the deal, recursion can lead to things like stack overflow if you're not careful with base cases or if the problem size is too large. Sure, it's pretty, but pretty doesn't cut it when your program crashes. Also, not all languages optimize tail recursion, so there's that. With loops, …
submitted 10 months, 1 week ago by LoopDeLoop22