1. Suppose head is a head reference for a linked list. Also suppose douglass and adams are two other IntNode variables. Write one assignment statement that will make douglass refer to the first node in the list that contains the number 42. Write a second assignment statement that will make adams refer to the 42nd node of the list. If these nodes don’t exist, then the assignments should set the variables to null.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here