Question: Please only use append, car, cdr, compose, list, cons to write a Racket function remove2 that takes in one list parameter and returns a list
Please only use append, car, cdr, compose, list, cons to write a Racket function remove2 that takes in one list parameter and returns a list except with the second and third elements removed. If the given list does not have at least 3 elements, the function should return an empty list.
Please do not use length fuction!
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
