Last week we were introduced to a fairly new thing known as mutation. To explain mutation, the example of LinkedList was used. LinkedList is somewhat similar to Trees, i.e. it also contains data but instead of having a lot of children, LinkedList can only refer to adjacent nodes. We can keep track of the LinkedList with the help of the start and end nodes and also through the nxt variable which helps us in going along the LinkedList. LinkedList is also a linear search thus it is easier to draw the path. I liked how my friend Sooham summarized about when to use the LinkedList on his
Blog.
It was easy to understand what the LinkedList was but rather difficult to implement it in code when i tried doing the Lab this week. It's taking me a lot of time to do this lab, as i'm finding this part difficult. I think for the better understanding of things, I will go to Danny's office hours and will look up Piazza for help.
Week 8 was very busy and stressful mainly because of our Assignment 2 which was really hard according to me, partly because of Minimax but in the end we were able to implement it and submit it on time.
No comments:
Post a Comment