Your new employee claims that the lazy list’s validation method(Fig.9.16) can be simplified by dropping the check that pred. Next is equal to curr. After all, the code always sets pred to the old value of curr, and before pred. next can be changed, the new value of curr must be marked, causing the validation to fail. Explain the error in this reasoning.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here