1. Write a generic method with one parameter that is a head reference for a linked list of nodes and a second parameter x that is a Comparable object. The precondition of the method requires that x is non-null. The method returns a reference to the data in the first node that it finds in which the data is greater than or equal to x. If there is no such node, then the method returns null.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here