Question: cannot use for module Write the function intersect ( L, M) that consumes two lists of integers L and M and returns a list that
cannot use for module

Write the function intersect ( L, M) that consumes two lists of integers L and M and returns a list that contains the elements in common between the two lists in the order of first appearance in the first list. Use recursion. Example: intersect([2, 5, 5, 7, 9, 2, 4], [1, 1, 1, 5, s, 9, 7]) => [5, 7, 9]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
