Problem Solving Flashcards

1
Q

Greedy Algorithm

A

a type of algorithm that solves the problem by making an optimal choice in the current situation to solve the problem

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

greedy choice

A

the best, or optimal choice that solves the subproblem

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

subproblem

A

a similar problem of smaller size

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

safe move

A

a greedy choice where there is an optimal solution consistent with its first move

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

Divide & Conquer Algorithm

A

a type of algorithm that tackles several small problems to solve a larger problem

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

Dynamic Programming

A

a method of solving complex problems, where the problem is broken down into subproblems. Those subproblems are individually solved, ONCE. Then, their results are stored.

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

Brute Force

A

The simplest way of solving a problem, it relies on the computer’s speed to solve the problem

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