Last week, we have the first term test of the CSC236 course. It was easier than I though, or because i am comfortable with the induction proof which i have learned a lot in the MAT137 course last year. Then after the test, we come to a new part: time complexity. Although the induction is still the tool to prove this kind of the problem, i didn't catch the professor's idea.How could we figure out that the time complexity of the binary search is O(log n) ? The python code is also confused, what "e" and "b" stand for? Moreover, what is the "unwinding"?
Tomorrow i will have a tutorial, and TA will talks about the exercise questions on the handout,so it is a good time to learn how to deal with these kind of problems. And a new week starts again.- -
没有评论:
发表评论