This is the final slog entry for CSC148. The course started off with the implementation of classes which were just introduced to us during the last few lectures of CSC108.
In this slog, I would like to revisit Trees and Recursion which were introduced in the Week 6. At first, the concept of moving from loops to using recursive function to make the code efficient, less complicated really scared me. I found the concept really hard and the codes were a nightmare but then discussing the problem with the professor totally changed my view about the concept. He just told me to retrace back the code and think again. This enhanced my working and understanding about the concept. Labs were not hard to understand anymore and the assignment 2 was not stressful at all.

The search functions did not use the normal tree, this was a special type of tree. The assignment made me realize that the programmers can use trees and modify it according to their needs, whatever they want to use it like.
All in all, I had a great time in this course, learned a lot about the different concepts the course offered and would really like to take more Computer Science courses in the distant future.
In this slog, I would like to revisit Trees and Recursion which were introduced in the Week 6. At first, the concept of moving from loops to using recursive function to make the code efficient, less complicated really scared me. I found the concept really hard and the codes were a nightmare but then discussing the problem with the professor totally changed my view about the concept. He just told me to retrace back the code and think again. This enhanced my working and understanding about the concept. Labs were not hard to understand anymore and the assignment 2 was not stressful at all.
The working of trees with recursion was the best part. The traversal techniques like, Preorder, Postorder, In-order and Lever-order and their different codes was really the most fascinating thing which I came across this course. The first one, In-order - (Left, root, right), Preorder - (root, left, right), Postorder - (left, right, root). The base case in all of these tree was, if n is None: return None. However, solving more and more questions in the labs, I realized that the base case was different a lot of times.
The concept of trees and Binary trees really made me think out of the box and the assignment really helped in the process of learning. The search functions in the Assignment made me fall in love with the tree ADT.

The search functions did not use the normal tree, this was a special type of tree. The assignment made me realize that the programmers can use trees and modify it according to their needs, whatever they want to use it like.
All in all, I had a great time in this course, learned a lot about the different concepts the course offered and would really like to take more Computer Science courses in the distant future.

