This is the last but one week of this term.
It is time to look back to my previous work and draw a conclusion. After
visiting my slogs from week3 to week10, I got really amazed that I have learned
so much in this course such that class, stack, tree, recursion and so on. All
of these topics are based on what we learned in CSC108. However in this course
we need to think more and attempt to make the code more efficient.
Here I would like to talk more about my
slog of week7----recursion in trees (click here to visit). As is known to
all, recursion is one of most important topics in this course. In week 7, we
had got in touch with this magic recursion just for several days. I can still
feel the stress I came across at that time. Some basic methods like height were
done at the very beginning. What I agree with is the general method I conclude
to implement recursive functions. Now that I get adequate exercises, I have a
deeper understanding of recursion----“think lazy”. Let the function do most of
work. Additionally, visiting my earlier posts provides me with an interesting
way to reflect on myself.
What’s more, I visit some of my classmates’
slog to compare their feelings with mine. What I subscribe to is Justin Song’s
view on advantages of revisiting our slogs, which merits attention. I also
share the same feelings with Nadine about recursive functions. Additionally, I want
to address that visiting other’s slog is a good way to communicate with
classmates as well.
I also want to talk more about the
materials this week. We covered the topic of efficiency of functions this week(Big-O).
Do you think it sounds familiar? Yes, this is taught in CSC165 as well. However,
what is different is that we focus on calculating the time of the worst case in
CSC148. I think calculating the worst case’s time aims to make the code more
efficient.
