Describe any boundary conditions

Write a java method with the signature:

Public ObjectList intersect ( ObjectList list, ObjectList list2)

That accepts two unordered linear linked lists and return a third linear linked list whose nodes contains the intersection of the two original linear linked lists. Note that the intersection of two lists is a new list containing the elements that the two list have in common, without modifying the two original lists. Describe any boundary conditions that might exist.

Leave a Reply

Your email address will not be published. Required fields are marked *