Most of this week was spent finishing A1. I don't even remember how many hours I spent figuring out the recursion in tour.py. Getting the function to be efficient was incredibly challenging, but I think I succeeded. This assignment has definitely honed my recursion skills.
Moreover, this week, we learned about trees. Trees are composed of roots, branches and leaves. Roots are parents of children, and branches connect parents to children. Nodes with no children are called leaves. Each child can just have one parent, and each parent can have a maximum of 2 children. The tracing of trees is done through recursion. They seem like a nifty way of handling and manipulating information and I look forward to getting more familiar with them.
Moreover, this week, we learned about trees. Trees are composed of roots, branches and leaves. Roots are parents of children, and branches connect parents to children. Nodes with no children are called leaves. Each child can just have one parent, and each parent can have a maximum of 2 children. The tracing of trees is done through recursion. They seem like a nifty way of handling and manipulating information and I look forward to getting more familiar with them.