An open API service indexing awesome lists of open source software.

https://github.com/sguessou/ninety-nine-lisp-problems

Ninety Nine Lisp Problems
https://github.com/sguessou/ninety-nine-lisp-problems

Last synced: about 2 months ago
JSON representation

Ninety Nine Lisp Problems

Awesome Lists containing this project

README

        

# 99 Lisp Problems

### Working with lists
#### Problem #1:
*Find the last box of a list.*
```
CL-USER> (my-last '(a b c d))
CL-USER> (D)
```
#### Problem #2:
*Find the last but one box of a list.*
```
CL-USER> (my-but-last '(a b c d))
CL-USER> (C D)
```
#### Problem #3:
*Find the K'th element of a list.*
```
CL-USER> (element-at '(a b c d e) 3)
CL-USER> C
```
#### Problem #4:
*Find the number of elements of a list.*

#### Problem #5:
*Reverse a list.*

#### Problem #6:
*Find out whether a list is a palindrome.*
```
CL-USER> (palindrome '(X A M A X))
T
CL-USER> (palindrome '(H E L L O))
NIL
```