1 Define a function insert that expects an index, an item, and a Lisp-like list as arguments. The function returns a list in which the item is inserted at the given index position.
2 Define a recursive function equals for two Lisp-like lists. Two lists areequal if they are both empty, or their first items are equal and the rest of their items are equal.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here