Week 14

Week of November 4, 2018

Copy-Restore Exercise


I finished copy-restore’s proficiency exercise. Not much to say, it was really straightforward. I started with the by reference exercise and added some of the code from by value and viola. It was really that simple. The only tricky thing was figure out how to grade the whole restore part of copy-restore. I ended up counting how many steps there were and using that to determine when an answer needs to be graded. This way, the two values can be restored in either order. If that makes sense.

Here is my commit.