Question: The top is the sample output Random walk, like we showed in class today. BUT... you can't go to any place you've already been. If

Random walk, like we showed in class today. BUT... you can't go to any place you've already been. If the path crosses itself anywhere, it's wrong. Example at right: (The little circle is the origin) The path ends at the arrowhead, because it's totally blocked, it can't go up, down, left, or right. FYI, attached is what we did in class... pyjny
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
