MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / HuffmanCodes

Function HuffmanCodes

greedy_algorithms/huffman.cpp:58–96  ·  view source on GitHub ↗

The main function that builds a Huffman Tree and print codes by traversing the built Huffman Tree

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 6

printCodesFunction · 0.85
deleteAllFunction · 0.70
pushMethod · 0.45
sizeMethod · 0.45
topMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected