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.
没有评论:
发表评论