Dynamic Programming Flashcards
1
Q
Knapsack Problem
* greedy algorithm
optimization problem, maximize profits
A
start w/ the smallest weight, do we have to use the entire amount?, can objects be divided?, can we use the fraction of an object?, objects, profits, and weights
2
Q
Floyd’s Algorithm
A
3
Q
Huffman Code
A
4
Q
Prim’s Algorithm
A
5
Q
Krunskal’s Algorithm
A
6
Q
Multi Stage Graph
A
7
Q
(LCS) Least Common Subsequence
A