Week 5 Discussion Forum

Why we used greedy algorithm???

Why we used greedy algorithm???

by Masud Parvez Pyiash 192-15-2827 -
Number of replies: 0

A greedy algorithm  is used to construct a Huffman tree during Huffman coding where it finds an optimal solution. In decision tree learning, greedy algorithms are commonly used, however they are not guaranteed to find the optimal solution.

38 words