Computer Science, asked by saurabh1031, 1 year ago

What is greedy algorithm and its sample programs?

Answers

Answered by sushmita
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. One popular such algorithm is the ID3 algorithm for decision tree construction.
Answered by RAHULsharma56
0

it is used to construct tumor reporting system by greedy algorithm by programs of sample

Similar questions