To summarize:
- binary search tree is a very special ADT
- data is sorted
- numbers on left children nodes are less than parent nodes
- numbers on right children are more than parent node
- easy to insert into BST
However, the thing that was on my mind for these two weeks was the term test. As mentioned in my week 8 slog, my group had a terrible time making our code recursive for minimax and the tippy functions. We didn't have the right mindset in which to turn our code into recursive calls. This made it extremely difficult for my preparation for the test. Professor Heap stressed in class about writing recursive coding which really scared me due to the fact that I had a rudimentary grasp of the idea. For me, I had trouble visualizing the function calls that were nested within if conditions. This made me to believe that I was thinking about the coding on a base case rather than a general one. After understanding this and reading my peers slog, https://csc148jasonus.wordpress.com/, I was able to come to a realization. Quoting from Jason's slog: "idea of being within" and his metaphor with Inception, I was able to finalize my understanding of recursion.
To be honest, I still had to put a ton of examples from the labs to guarantee my understanding.
To be honest, I still had to put a ton of examples from the labs to guarantee my understanding.
No comments:
Post a Comment