Algorithms Flashcards

1
Q

What is a recursive function?

A

It’s a function in code that refers to itself for execution.

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

What is Big O notation?

A

Big O notation is a way to measure an algorithm efficiently. It measures the time it takes to run your function as the input grows.

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

Why are some algorithms considered unreasonable?

A

An unreasonable time algorithm is a problem that would take a massive amount of computing power to solve. The amount of time it would take to calculate a solution would be unreasonable.

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