2015年3月2日星期一

slogs for week 6: learning tree structure this week

In this week, professor introduced a new data structure---tree. We learned to use basic recursion coding skills to solve relevant tree questions. When I was doing the lab for week six, I find it hard to solve all of those questions. For me, I could only finish half of the tasks. Therefore, I hope professor or TA could post the solution to all the lab questions.

When it comes to lab, I must say that I think there might be something wrong with the quiz. The quiz requires me to write code for counting leaves of a certain tree. However, the example it provided is probably wrong because one of the value it returned is not the number of leaves. Hence, this problem makes me so confused that I could not find a way to add the "redundant one" to the final result. 

I think tree structure really improved my recursion coding skills. Because it is a kind of application of recursion. However, I am not very confident about this new material because I just cannot finish the lab questions. The level of quiz questions seems more suitable for me (crying). For now, I could only consult fellow students for those questions, but it really makes me struggling and consulting is really time consuming. I hope I can find another way to solve this tricky problem in the coming weeks.

Generally speaking, I learned something interesting and made some enhancement this week.   

没有评论:

发表评论