Sunday, 8 March 2015

Week 8

This week we have learned more about recursive data structures. We learned about binary trees and their uses. Binary trees are a data structure in which each node of the tree contains data and up to two child nodes. The children are ordered such that data with lesser value go on the left while data with greater value go on the right. Uses of this include arithmetic and efficient searching of data. I personally like this type of data structure because it is simple, intuitive and efficient.

Aside from learning about recursive data structures, there is also an assignment due this week. It involves making a game and a strategy for that game that always wins if possible. We have to make use of our past knowledge of classes and recursion in order to finish this assignment, which is a rather difficult one. I feel that completing this assignment will help solidify my knowledge on concepts of object-oriented programming and recursion.

No comments:

Post a Comment