CS 1321 (Principles of Algorithm Design II):
Homework #6 Sample Solution

Sample solution code

Not available.

Testing

We tested your programs using the string editor program and with two additional test programs.

Here again is the code for the string editor:

We ran this program using the following two files as input:

Here is the expected output:

Here is code for the two additional test programs:

Here is their expected output: