Description and justification of the tests you have written. Each test should be de- scribed to say what the input and expected output are, and what the purpose of this test is.
Analysis of run-time cost. For each public method, you should describe the algorithm you intend to use for this, and state the big-Oh worst-case runtime, in terms of the length of the arithmetic expression, the height of the tree, or other important aspects of the input data. You should also give a short justification of this cost, for example, by indicating how much of the tree is examined, and how much work is done on each node.
If you are a postgraduate student enrolled in INFO9105, also describe some extra methods you would propose to extend the functionality of the system. Explain what each proposed method would do (it would help to give examples of input and output, as we do for methods such as substitute above), and how this could be useful.
Get It Done! Today
Every Assignment. Every Solution. Instantly.
Deadline Ahead? Grab Your Sample Now.