Tuesday, January 25, 2011

Turtle recursion



It uses push and pop and is possibly a more general solution than TA's built in sample because you dont need to know the result of each recursion's calculations to restore each recursion's local variable.

http://wiki.sugarlabs.org/images/1/13/Tree_recursive.doc

Labels: , , , ,

0 Comments:

Post a Comment

<< Home