Question: Write a function, called union: a list* a list a list, that when called with two lists, denoting sets, returns their union. In other

Write a function, called union:

Write a function, called union: "a list* "a list "a list, that when called with two lists, denoting sets, returns their union. In other words, union(s1,s2) = s1 U s2 where s1 and s2 are lists. Recall that sets may not contain duplicate elements. (Hence s1 U s2 may not contain duplicate elements).

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!