Q9. Greedy9
What is the time complexity of Huffman Coding?
O(N)
O(NlogN)
O(N(logN)^2)
O(N^2)
given ans is O(N(logN)^2) but shouldnt it be O(NlogN)
Q9. Greedy9
What is the time complexity of Huffman Coding?
O(N)
O(NlogN)
O(N(logN)^2)
O(N^2)
given ans is O(N(logN)^2) but shouldnt it be O(NlogN)