Last week we had a term test. I made a mistake in a
question about preorder. Preorder, inorder and postorder was in lab 06. But it’s
the last three functions in lab 06, so I guess I didn't pay much attention to
it when I go through the lab 06 sample solution. And also, I implement the
required functions based on my cheat sheet. In term test 1, I forgot to make a
cheat sheet so I implement all functions on my own during the test and got a
good mark, which made me really happy and confident. But now I don’t know if I can
implement them all by myself without the help from cheat sheet. And I know we
should still go through the lab handout and implement all those functions by
ourselves even though TAs are on strike, but I was lazy and didn't treat the
lab material seriously since we didn't need to go to lab.
We only had one lecture last week. We talked about
some binary search tree insert and delete functions. What I learned from the
lecture is if you let a node refer to nothing or nothing refers to it, python
will delete it automatically.
Unfortunately, TAs are still on strike so we didn't have lab last week.
The weather is warm. I am so happy the winter is over.
没有评论:
发表评论