Is recursion generally considered to be an outdated method of traversing compared to using a stack?

Posted by Jamie Dixon on Stack Overflow See other posts from Stack Overflow or by Jamie Dixon
Published on 2009-04-28T01:31:44Z Indexed on 2010/04/16 15:53 UTC
Read the original article Hit count: 499

Filed under:
|
|

I've been reading in a couple of places where people are opting to use a Stack instead of recursion. Is this because recursion is seen as being an outdated way to get-the-job-done or are both methods equally applicable in different contexts?

© Stack Overflow or respective owner

Related posts about recursion

Related posts about stack