Question: *Recursion Write the function reverse that reverses the top level elements of a list. (reverse'(abc d)--> (d cb a) (reverse Sounds easy? Well, heres the

 *Recursion Write the function reverse that reverses the top level elements

*Recursion Write the function reverse that reverses the top level elements of a list. (reverse'(abc d)--> (d cb a) (reverse Sounds easy? Well, heres the catch. You are allowed to use only car, edr, cons, cond and, of course, recursive applications of reverse. This means no other help functions are allowed and so the general way of writing reverse with snoc as below doesn't count

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!