Recursion Flashcards
1
Q
What is Pseudocode?
A
is a high-level description of the problem you’re trying to solve, in code. It’s written like code, but it’s meant to be closer to human speech.
2
Q
What is Recursion?
A
Recursion is where the function calls itself
3
Q
How many parts in recursion?
A
Two parts, base case and recursion case
4
Q
What is stack?
A
It’s a simple data structure, have two action: push, and pop
The stack, used to save functions calls, that’s called the call stack.
Uses last in first out technique