Question: ( 3.4 ) Given two sorted lists, L1, and L2, write a procedure to compute the intersection of L1 and L2 using only the basic
(3.4) Given two sorted lists, L1, and L2, write a procedure to compute the intersection of L1 and L2 using only the basic list operations.
(3.5) Given two sorted lists, L1, and L2, write a procedure to compute the union of L1 and L2 using only the basic list operations.
Note the requirement that you use only the basic list operations. Use the List objects provided by java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
