A

Admin • 36.93K Points
Coach

Q. Which of the following algorithms is the best approach for solving Huffman codes?

(A) exhaustive search
(B) greedy algorithm
(C) brute force algorithm
(D) divide and conquer algorithm
Correct : Option (B)

Explanation:
 greedy algorithm is the best approach for solving the huffman codes problem since it greedily searches for an optimal solution.

Share

Discusssion

Login to discuss.

Be the first to start discuss.