Thread
:
Recursion?
View Single Post
#
14
15-12-2003, 19:01
Greg
Registered User
FRC #1075 (Sinclair Sprockets)
Team Role: College Student
Join Date: Nov 2002
Rookie Year: 2003
Location: Whitby, Ontario, Canada
Posts: 108
Re: Recursion?
In most cases it is possible to convert any recursive algorithm into an iterative one. See if this is an option if you run out of stack space. An iterative algorithm will never run out of stack space, but may be slower in some cases.
Greg
View Public Profile
Visit Greg's homepage!
Find all posts by Greg
Find CD-Media Photos by Greg
Find CD-Media Papers by Greg