Week 5 Discussion Forum

why we used greedy algorithm?

why we used greedy algorithm?

by Md.Armanul Islam (192-15-2842) -
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