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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Recursion?

A

Recursion is where the function calls itself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many parts in recursion?

A

Two parts, base case and recursion case

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly