Wednesday, July 7, 2010
CS502 GDB solution
Technically all recursive computations are done iteratively at some level so the answer would HAVE to be yes (since computers can only do a finite number of computations at a time). some recursive functions like full tree traversals however if you wanted to do iteratively (in your source code instead of at a processor level) you'd have to implement your own fake call stack, which would be both messier and negate any performance gain.
Subscribe to:
Post Comments (Atom)
Great post :)
ReplyDeleteAssignment Help 24/7