Thursday, March 10, 2016

Binary (n-ary) Trees

This past week, we worked on binary (and really, generally any arity) trees. In general, I felt that the tree structure is quite an important and intuitive way to think of data - and so I want to spend the next week thinking about and learning about different ways in which trees are used. I know that they're used in searches, in sorts, but I'd also like to find other methods in which to use trees.

In particular, I feel that the power of recursion displays itself quite well when applied to trees - since the set of trees is recursively defined, we can use recursion to characterize and employ functions on trees very easily.

No comments:

Post a Comment