Question: In Ocaml, write a recursive function that takes two lists as arguments and returns a list containing all items that appear in either list with

In Ocaml, write a recursive function that takes two lists as arguments and returns a list containing all items that appear in either list with no duplicates. ( You can assume that each of the arguments contains no duplicates, but there mat be items that appear in both lists). DO NOT USE ANY BUILT IN LIST FUNCTIONS

Step by Step Solution

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 Databases Questions!