2013年11月10日星期日

[WEEK X] Term Test II

Basically no class this week: No school on Monday and term test 2 on Wednesday.

Term test 2 was all about trees. BTNode, BSTNode, recursion, all such things. If I'm right, question one was asking to count the number of internal nodes and the number of leaves, the second one was asking to count the number of even integeers in a binary tree and the last one was asking to return a path to the minimum element in the BST.

 I think I'm doing fine on this test since some of the contents are covered in the lectures. The 'cheat sheet' is still a 'decoration' there though, I spent half an hour to prepare it but it seems have no actual use, lol. :/