1. Write a Scheme function to implement the following list manipulation operatio
ID: 3630720 • Letter: 1
Question
1. Write a Scheme function to implement the following list manipulation operationsf. Merge two (ascending) ordered lists of integers into a single (ascending) ordered list. Call it merge. For example:
(merge ‘(1, 2, 12) ‘(2, 3, 4, 5, 8)).
=> (1 2 3 4 5 8 12)
Make sure your solution handles duplicates appearing within the lists:
(merge(‘(1, 1, 12) ‘(2, 3, 4, 5, 8))
-> (1 1 2 3 4 5 8 12)