Q2 15p Given List Objects Stored Ascending Order Sorted Linked List Implement Member Metho Q37270548

Q2)15p)Given a list of objects stored (in ascending order) in asorted linked list, implement member method which performs searchas efficiently as possible for an object based on a key. (Note thatthe key type matches the field type by whichthe linked list issorted.). The method returns refenence to the node containing thekey, otherwise null is returned.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.