Name: ____________________________________________________ Alpha:
_____________ Section: ________
Describe help received: _________________________________________________________________
See the bottom for how to submit your work.
Due: Before 0800 on next class day
The definition
of Node is given as follows:
|
The iteration version of the function is as follows:
|
// Give a recursive definition:
We already wrote a working version.
|
|
calcspace! calcspace should
be recursive this time. Of course, your new
calcspace should be functionally equivalent to the original one.
Don't change the main function.
Submit to the submission server (due: 0800 on the next class day)
~/bin/submit -c=IC210 -p=hw36 hw.cppBring to class