This week we did more on linked lists. We had done a lab for linked lists in week 7, but we did a continuation of it in this week's lab. My partner and I had a lot of trouble figuring out the different methods for linked lists. Even though we drew pictures, we still had difficulties. Clearly this is an important concept that I need to figure out.
It is all the terminal matters.
The method exist or not. The method is None or not.
These two things look similarly but need to be treated carefully.
From my point of view, the attribute .empty is useless, and It is sufficent to decide whether it is empty or not by looking at the sub link.
we had a lot of troubles for lab7 as well.. It is very confusing and time-consuming. But thanks to our profs, they posted lab results :D
ReplyDelete