Unit 4 Notes Flashcards

1
Q

What is backtracking?

A

Backtracking involves finding a solution incrementally by recursively exploring all possible solutions and undoing them if they lead to a dead end.

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

What algorithm design pattern does the graph colouring problem use?

A

Backtracking

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

What are divide and conquer algorithms?

A

Breaks down the problem into sub-problems and then solves the individual problems recursively

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

What is dynamic programming

A

Dynamic programming algorithms split the problem into related sub-problems which are only solved once.

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

What are P class problems

A

problems that can be SOLVED in polynomial time

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

What are NP Class problems

A

Problems that can be VERIFIED in polynomial time

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