Monday, March 9, 2015

Week 8 SLOG

This week, I learned about Linked list and a special class called LLNode in class. The concept of linked list is absolutely new to me and it is yet another concept that needs recursion for it to function properly, so essentially this week lecture material is again on the major theme of recursion. I learned that linked lists structure is like similar objects linked together through a connection, in the lecture it is presented as self.next for the class LLNode.
I really enjoyed doing the append method for linked list worksheet in class with professor Heap leading the way to help simplify the questions. The step by step process in the worksheet is a very methodical way for me to learn how to visualize this append function. With this worksheet, I definitely speeded up the process of learning and comprehending this special concept of linked list so this is something I really appreciate and hope professor Heap will keep doing in class and he has been doing it for like 4 classes in a row I believe.
I found that implementing the strategy of Minimax in assignment 2 is pretty challenging as the I was having trouble on how to connect the score to a move and what is the correct order in writing that particular recursion function. I am able to solve this issue by going to office hours twice during the week and ask professor Heap for assistance. Although the meeting time was short, I still think the help was monumental as I had a much better idea and concept about the minimax function and how a helper function would assist me in completing this step.
I am slightly confident in the material covered this week largely thanks to the write append method worksheet and the lecture this well. This methodical teaching method really clicked with me so I feel like I have a good grasp of this week’s material. However, linked list is still a new concept for me and I am sure I have to work on it more to fully comprehend it and I need to do it within this week as Term test 2 is coming up soon.
I was very proud of my assignment 2 and I considered it to be my biggest achievements this week. Initially I was having trouble to understand how to properly implement the minimax class and I think I spent like 2-3 hours just going trial and error as I didn’t have a great grasp on how to deal with it as I was not quite sure how to package a score and a move together with a recursion is mostly needed. However through piazza discussion and office hours, I was able to understand minimax and ultimately I think I was able to implement it properly.
As TAs were on strike this week, the tutorial was essentially forced to cancel so I only worked on the tutorial on my own during my spare time. I found that the tutorial’s instruction was clear and I was able to follow it to the end. Although I completed it but I still have to look at the answers for this week lab when it’s posted to see if I have the correct answer or not.

More on Assignment 2, I originally had an issue of not knowing what to do with rough_outcome in Tippy_state as it seems to be very similar to Minimax. This frustrated me for quite some time but then I posted my question on the piazza forum and ask professor Heap for some ideas to solve this issue, I learned that this method is actually meant to be crude and imperfect so this gave me an idea on how to implement it and I am satisfied with the method I implemented for rough_outcome although it took me quite some time and effort to figure it out. 

No comments:

Post a Comment