August 19, 2024
P06 - Find out whether a list is a palindrome
A palindrome can be read forward or backward; e.g. (x a m a x).
lisp
(defun palin (lista)
(equal lista (reverse lista))
)
August 19, 2024
A palindrome can be read forward or backward; e.g. (x a m a x).
lisp
(defun palin (lista)
(equal lista (reverse lista))
)
Don't have an account? We will create one for you.
Enter the OTP send to
in seconds. Check your spam folder if you can't find email from us.
Valid email is required for further communications