Question: 5. (15 points) Write a recursive ML function flip that flips alternate elements of a list. That is, given a list (01, 02, -, an]

5. (15 points) Write a recursive ML function flip that flips alternate elements of a list. That is, given a list (01, 02, -, an] as arguments, produce [22,41, 24, 43, 46, 45,-) as the answer. If n is odd, an remains at the end. What is the type of flip
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
