We started off the week learning about binary trees. Roots, nodes, edges, leafs were some of the terms we associate to them. It was also the last week we had to finalize our assignment. I must say the most difficult part had to be Step 5, where we had to come up with a function to minimize the number of moves by choosing the appropriate i, which varied from one amount of cheese to another. I'm glad I was able to work with a partner because it really made all the difference. The thinking process is minimized when you have another person to bounce off ideas from! It was such a relief when we tested the console and everything worked out smoothly. Week 6 was definitely a challenging but successful week!
Saturday, 15 February 2014
Thursday, 13 February 2014
SlogTrois
I can't lie, at first glance, I thought Assignment one was going to be very difficult! Interesting, but difficult. In my case, understanding the initial Tour of Hanoi problem, the story behind it, was where I found complication. Only when the instructor began giving an overview and helping us understand the thought process behind the problem did I realize that this assignment was probably going to be one of the most interesting/fun/challenging assignment yet! Teaming up definitely facilitates things by helping me overcome small problems that I might complicate. All in all, my partner and I made great progress during this week because we were committed to completing this task prior to the due date #shorttermgoals!
SlogDeux
This week had a huge focus on recursion which was very much needed for me! The professor used the Turtle class in Python to help us visualize the concept. I was able to make a link to fractals in physics, which are basically a recursive image where zooming in on one part of the image is identical to the initial one, just on a smaller scale. Ever since then I've been able to understand how to properly implement recursive functions so my lab was a breeze! The most difficult part is handling these recursive problems at first sight, so tracing really makes all the difference.
Subscribe to:
Posts (Atom)