270 likes | 284 Views
Lecture 9 Greedy Strategy. Exchange Property. Activity Selection Problem. Mathematical Model. Exchange Property. Self-Reducible Optimality. Greedy Algorithm. Optimality Proof. Huffman Codes. Problem. Binary Tree Representation. 0. 1. 0. 1. 1. 0. 1. 0. 1. 0.
E N D
0 1 0 1 1 0 1 0 1 0
0 1 0 1 1 0 1 0 1 0
0 1 0 1 1 0 1 0 0 1
What we learnt in this lecture? • How to find greedy algorithm. Exchange property. Structural Property of Optimal Solution Self-reducible optimality.
Solution 1 Solution 2
Thanks End