When i first heard about recursion in this course i was very intrigued by it but also very confused by it. I remember thinking that i understood what it was all about but after i fail to understand one of the quiz questions i had to reevaluate my understanding of it. After some help from the TA and manage to sort of get it. I still find it challenging however to trace the calls very well... but as my TA puts it we really need to practice it and familiarise ourselves with it. I also started to realise how recursion can really help with efficiency when it comes to programming for example the tree with the left and right branch search thing we did in the most recent lab. Its similar to the binary search i learned about in csc108 with the logarithmic efficiency.
Overall, i think recursion is a very smart function that i can wait to learn more about and become really good at it. when a computer can call functions by itself it can really make it so much more intelligent and useful.
No comments:
Post a Comment