Looking back to the recursion slog for week 7. I agree with what I said and my feelings towards recursion there. Recursion can be scary at first but after breaking it down to the base case and adding on from there it becomes a lot more manageable. Just like with anything else, practice makes perfect so looking at a lot of examples helped tremendously. Another important thing was that I wouldn't look at solutions until I had completely given up. This allowed me to actually solve some problems where I was sort of lost with. I basically tried again and again and once I solved it, It helped strengthen my understanding of how recursion was implemented for that case.
Now I'm looking forward for assingment 3, to tackle redundancy in the recursive calls.
No comments:
Post a Comment