Chapter 8 Flashcards
an algorithm that finds a solution to problems in the shortest time possible
greedy algorithm
a computer scientist and mathematician who wanted to calculate a minimum spanning tree, introduced the term “Greedy algorithm”
Edsger Dijkstra
is without any cycles and with the minimum possible total edge weight. This tree is derived from a connected undirected graph with weights.
Minimum spanning tree
is a search algorithm that finds the shortest path between a vertex and other vertices in a weighted graph.
Dijkstra’s shortest path
involves finding the shortest route that visits different places only once and returns to the starting point
Travelling salesman problem
assigns shorter code to frequently occurring symbols and longer code to less occurring symbols. It is used to encode data efficiently
Huffman coding
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
Dijkstra’s Algorithm