Graphs Flashcards

1
Q

What is a greedy graph?

A

A graph that can find an approximate solution to problems

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

How do greedy graphs work?

A

They make the best decision on the information that is immediate to them and don’t “look ahead”

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

What graph theories must you know?

A

Dijkstras algorithm

Travelling saleperson

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

Who made graph theory?

A

Leonard Euler

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

W=How do you approach a Knapsack problem?

A

Work out the density of the items from value/weight

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

What is the knapsack problem?

A

A class of problems known as NP-Complete problems

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