Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ HuffmanCodingAlgo.py
File
HuffmanCodingAlgo.py
Python/HuffmanCodingAlgo.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
heapq
2
3
class
node:
4
def
__init__(self, freq, symbol, left=None, right=None):
Callers
nothing calls this directly
Calls
2
printNodes
Function · 0.85
node
Class · 0.70
Tested by
no test coverage detected