Limitations of Complexity Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is Big-O notation?

A

A notation that expresses computing complexity as the term in a function that increases most rapidly, relative to the size of a problem.

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

What is the Big-O notation used to describe?

A

The upper bound of a algorithm’s complexity. The longest time it would take to execute/complete an algorithm.

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

What is the order of magnitude for Big-O notation?

A
  • O(1)
  • O(log2(N))
  • O(N)
  • O(N log2 N)
  • O(N^2)
  • O(N^C)
  • O(C^N)
  • O(n!)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are polynomial time algorithms?

A

Algorithms whose order of magnitude can be expressed as polynomial in the size of the problem.

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

What is Polynomial time complexity (P)?

A

Problems that can be solved with a deterministic processor in polynomial time?

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

What is nondeterministic polynomial (NP)?

A

Problems that can be solved with a nondeterministic processor in polynomial time but can be verified by a deterministic processor in polynomial time.

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

What are NP-hard problems?

A

Problems which are at least as hard to solve as NP problems, but where the solution may not be verifiable in polynomial time?

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

What are Np-Complete problems?

A

The hardest problems to solve in the NP class. Proving that any of the NP-Complete problems can be solved in polynomial time would mean that all NP problems could be.

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