Chapter 8 Flashcards

1
Q

an algorithm that finds a solution to problems in the shortest time possible

A

greedy algorithm

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

a computer scientist and mathematician who wanted to calculate a minimum spanning tree, introduced the term “Greedy algorithm”

A

Edsger Dijkstra

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

is without any cycles and with the minimum possible total edge weight. This tree is derived from a connected undirected graph with weights.

A

Minimum spanning tree

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

is a search algorithm that finds the shortest path between a vertex and other vertices in a weighted graph.

A

Dijkstra’s shortest path

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

involves finding the shortest route that visits different places only once and returns to the starting point

A

Travelling salesman problem

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

assigns shorter code to frequently occurring symbols and longer code to less occurring symbols. It is used to encode data efficiently

A

Huffman coding

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

You can find the shortest path between nodes in a graph. Particularly, you canfind the shortest path from a node (called the “source node”) to all other nodes in the graph, producing a shortest-path tree

A

Dijkstra’s Algorithm

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