Question: What should be inside this function to build a huffman tree using priority_queue?? void huffman::buildTree (const string & chars const vector int & freqs) {//priority

What should be inside this function to build a huffman tree using priority_queue??
void huffman::buildTree (const string & chars const vector int & freqs) {//priority queue used to build Huffman tree priority_queue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
