Saturday, March 14, 2015

Week 8 Linked Structure

    Week 8 is all about linked structure. Unfortunately I was sick on Monday, so I did not have a chance to be introduced to this new topic. When I returned to the Wednesday's class, I was stunned by the concept of linked list and all its methods. The only thing that was understandable was the diagram. It gives me an overall understanding of linked list and how each node in the list relates to each other, and perhaps how it works. 
    Because of the absence of the first lecture of linked list, I spend extra time reading the course note and slides. I find the most helpful way to understand and solidify the linked structure is the lab, though due to the strike the lab was cancelled. By following those codes, I can gain better comprehension of those methods including the ones that once stunned my during the lecture. I also find that drawing diagram is extremely helpful to both comprehension and implementation of the code. Here is one of the diagrams I drew to for the append method:


Drawing graph gives me a visual understanding of how the method work; sometimes it also gives me hints to solve similar problems as well. 



No comments:

Post a Comment