This week we started talking about the
processing time on running a function, by using the BigO and different types of
sorting algorithms, such as quick sort. I learnt about bubble sort, insertion
and selection sort in 108, but I almost forgot them, and we also learnt some
new methods. The lab this week was basically about comparing the running time
as well as figuring out formulas of the time spending. I am not quite familiar
with those materials, probably because this week we spent most of the time on
the assignment. This assignment was much harder than the first one I thought,
since the most crucial part uses recursion (or while loops) and building trees
all together. We also got the test back, and I got a really high mark, which surprised
me a lot. However, I am pretty sure that I still have issues with recursions as
well as building trees, so I still have to work on it before the final.
没有评论:
发表评论