Author: Unknown
Subject: Detecting infinite expansion (staff solution doesn't terminate)
Date: Thursday, 27 Feb 2020, 13:51:28
When I run the staff solution on the following /c/cs223/Hwk3/strwrs -Rs a aa with input ab the program does not seem to terminate. This is because it keeps adding an a to the string, so the string technically does change, yet this process never terminates. Are we supposed to detect cases like this? How should these be handled?PREV INDEX NEXT