Modify the maze-solving application of Chapter 14 so that it uses a queue instead of a stack. Run each version of the application on the same maze and count the number of choice points required by each version. Can you conclude anything from the differences in these results? Are there best cases and worst cases of maze problems for stacks and queues?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here