Unit 5: Greedy Algorithms ․Course contents: ⎯ ⎯ ⎯ ⎯ ⎯ Elements of the greedy strategy Activity selection Knapsack problem Huffman codes Task scheduling Chapter…