I found tracing recursion is kind of fun
and relatively easier than previous knowledge. However, I found it quite
confusing when I first time be introduced the concept of it. It is easy to
start with single list and couple sublists. As numbers of sublists are
increasing, it is difficult to trace it correctly. When I brought my question
to lab, TA explained tracing recursion step by step and I got better clue of
it. The function keeps calling it self until it reach to the end. Recursion is efficient
and useful during our programming.
No comments:
Post a Comment