Questions tagged [lisp]
22 questions
2
votes
1 answer
SICP: Pascal's triangle problem
I was reading SICP and was solving a problem that asked to create a function in lisp for finding elements of Pascal's triangle.
The way I went about it is to take input as the row number and then print each element of the row iteratively, whose…

Varun Patel
- 23
- 3
1
vote
1 answer
How does time/space complexity work with lisp
I'm completely new to programming but I've had a course in computational complexity. I'm trying to read the book "Structure and Interpretation of Computer Programs." In the first few sections, the authors make some claims about the relative…

dessin d'enfant terrible
- 113
- 4
0
votes
1 answer
What is the difference between a block and a procedure?
A procedure is a sequence of program instructions that perform a specific task, packaged as a unit (Techopedia).
We use block structure to make our code more readable by using indentations and spaces.
Now, is one block the same as a procedure and…

Katherina Kallis
- 3
- 2