In the first few weeks, we mainly reviewed and in-depth studied class structures. I still remember how I struggled with the implementation of general class for the subtract square game state; but now I feel more confortable construct classes and subclasses after striving those 3 assignments.
Recursion impressed me the most among all the materials taught in this course somehow. I was simply fascinated by the idea of using the function itself as a helper function within the body. Though implementing a recursive method was a little challenging at first, the tree classes let me practice more and helped me to master the concept of recursion.
Linked structure was probably the most difficult one for me. I spent a lot of time trying to understand how the append method of LinkedList work. By drawing diagrams, I found it gives me a clear idea of how to implement that method.
The final exam is coming! Hope I can get a satisfying result that will encourage me in my further study of computer science.
4.jpg)