Q. What is the running time of the Huffman algorithm, if its implementation of the priority queue is done using linked lists?

  • (A) o(c)
  • (B) o(log c)
  • (C) o(c log c)
  • (D) o(c2)
πŸ’¬ Discuss
βœ… Correct Answer: (D) o(c2)
Explanation: if the implementation of the priority queue is done using linked lists, the running time of huffman algorithm is o(c2).

Explanation by: Vijay Sangwan
if the implementation of the priority queue is done using linked lists, the running time of huffman algorithm is o(c2).

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
963
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
83%
Success Rate